Ignore:
Timestamp:
Dec 6, 2014 9:13:38 PM (8 years ago)
Author:
ldelgass
Message:

remove dead code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/branches/1.1/nanovis.cpp

    r4804 r4820  
    6868#include "NvZincBlendeReconstructor.h"
    6969#include "PlaneRenderer.h"
    70 #ifdef USE_POINTSET_RENDERER
    71 #include "PointSetRenderer.h"
    72 #include "PointSet.h"
    73 #endif
    7470#include "Switch.h"
    7571#include "Trace.h"
     
    136132NvLIC *NanoVis::licRenderer = NULL;
    137133PlaneRenderer *NanoVis::planeRenderer = NULL;
    138 #ifdef USE_POINTSET_RENDERER
    139 PointSetRenderer *NanoVis::pointSetRenderer = NULL;
    140 std::vector<PointSet *> NanoVis::pointSet;
    141 #endif
    142134
    143135Tcl_Interp *NanoVis::interp;
     
    201193        screenBuffer = NULL;
    202194    }
    203 #ifdef USE_POINTSET_RENDERER
    204     if (pointSetRenderer != NULL) {
    205         TRACE("Deleting pointSetRenderer");
    206         delete pointSetRenderer;
    207     }
    208     for (std::vector<PointSet *>::iterator itr = pointSet.begin();
    209          itr != pointSet.end(); ++itr) {
    210         TRACE("Deleting pointSet: %p", *itr);
    211         delete (*itr);
    212     }
    213 #endif
    214195    if (fonts != NULL) {
    215196        TRACE("Deleting fonts");
     
    871852    grid = new Grid();
    872853    grid->setFont(fonts);
    873 
    874 #ifdef USE_POINTSET_RENDERER
    875     pointSetRenderer = new PointSetRenderer();
    876 #endif
    877854}
    878855
Note: See TracChangeset for help on using the changeset viewer.