Changeset 4245 for trunk


Ignore:
Timestamp:
Mar 14, 2014, 10:27:41 AM (11 years ago)
Author:
ldelgass
Message:

Return a user error if no scalar point data field in Volume.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/Volume.cpp

    r4244 r4245  
    109109    if (ds->GetPointData() == NULL ||
    110110        ds->GetPointData()->GetScalars() == NULL) {
    111         WARN("No scalar point data in dataset %s", _dataSet->getName().c_str());
     111        USER_ERROR("No scalar field was found in the data set");
     112        return;
    112113    }
    113114
Note: See TracChangeset for help on using the changeset viewer.