Changeset 5722


Ignore:
Timestamp:
Jun 18, 2015, 5:30:27 PM (4 years ago)
Author:
ldelgass
Message:

Set flags to update ranges when deleting objects

Location:
nanovis/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/Flow.cpp

    r5703 r5722  
    421421    _volume->specularLevel(_sv.specular);
    422422    _volume->specularExponent(_sv.specularExp);
    423 
    424     Volume::updatePending = true;
    425 }
     423}
  • nanovis/trunk/nanovis.cpp

    r5717 r5722  
    755755    }
    756756    delete volume;
     757    Volume::updatePending = true;
    757758}
    758759
     
    793794        delete itr->second;
    794795        flowTable.erase(itr);
     796        Flow::updatePending = true;
    795797    }
    796798}
     
    820822    TRACE("Enter");
    821823
    822     /*
    823      * Step 1. Get the overall min and max magnitudes of all the
    824      *         flow vectors.
    825      */
    826824    Flow::magMin = DBL_MAX;
    827825    Flow::magMax = -DBL_MAX;
    828 
    829826    for (FlowHashmap::iterator itr = flowTable.begin();
    830827         itr != flowTable.end(); ++itr) {
     
    845842    TRACE("magMin=%g magMax=%g", Flow::magMin, Flow::magMax);
    846843
    847     /*
    848      * Step 2. Generate the vector field from each data set.
    849      */
    850844    for (FlowHashmap::iterator itr = flowTable.begin();
    851845         itr != flowTable.end(); ++itr) {
Note: See TracChangeset for help on using the changeset viewer.