Ignore:
Timestamp:
Jul 15, 2014, 10:32:01 PM (5 years ago)
Author:
ldelgass
Message:

Fix regression in VTK loader for uniform data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/VtkDataSetReader.cpp

    r4385 r4503  
    116116        loc[0] = ix; loc[1] = iy; loc[2] = iz;
    117117        vtkIdType idx = resampledDataSet->ComputePointId(loc);
    118         bool valid = (mask->GetComponent(idx, 0) != 0.0);
     118        bool valid = (mask == NULL) ? true : (mask->GetComponent(idx, 0) != 0.0);
    119119        if (isVectorData) {
    120120            double vec[3];
Note: See TracChangeset for help on using the changeset viewer.