Changeset 5576 for nanovis


Ignore:
Timestamp:
May 19, 2015, 11:28:09 PM (4 years ago)
Author:
ldelgass
Message:

Fix potential crash if volume not created when getting bounds for flow box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/branches/1.2/Flow.cpp

    r5489 r5576  
    9292         itr != _boxTable.end(); ++itr) {
    9393        FlowBox *box = itr->second;
    94         if (!onlyVisible || box->visible()) {
     94        if ((!onlyVisible || box->visible()) && getVolume() != NULL) {
    9595            BBox bbox;
    9696            box->getWorldSpaceBounds(bbox.min, bbox.max,
Note: See TracChangeset for help on using the changeset viewer.