Changeset 5790 for vtkvis


Ignore:
Timestamp:
Aug 1, 2015, 1:05:49 PM (9 years ago)
Author:
ldelgass
Message:

Don't add scalar warp in heightmap if scale=0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vtkvis/branches/1.8/HeightMap.cpp

    r5750 r5790  
    746746
    747747    _warpScale = scale;
    748     if (_warp == NULL) {
     748    if (_warp == NULL && scale != 0.0) {
    749749        vtkAlgorithmOutput *warpOutput = initWarp(_mapper->GetInputConnection(0, 0));
    750750        _mapper->SetInputConnection(warpOutput);
Note: See TracChangeset for help on using the changeset viewer.