Changeset 6554


Ignore:
Timestamp:
Oct 12, 2016 9:18:08 PM (7 years ago)
Author:
ldelgass
Message:

Fix setting z axis scale based on axes range mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vtkvis/trunk/Renderer.cpp

    r6179 r6554  
    763763        TRACE("Setting Y axis scale to: %g", sy);
    764764    }
    765     if (_axesRangeMode[Y_AXIS] == RANGE_AUTO) {
     765    if (_axesRangeMode[Z_AXIS] == RANGE_AUTO) {
    766766        double sz = (bounds[5] == bounds[4]) ? 1.0 : (unscaledBounds[5] - unscaledBounds[4]) / (bounds[5] - bounds[4]);
    767767        _axesScale[Z_AXIS] = sz;
Note: See TracChangeset for help on using the changeset viewer.