Changeset 6555 for vtkvis/branches


Ignore:
Timestamp:
Oct 12, 2016, 9:22:42 PM (8 years ago)
Author:
ldelgass
Message:

merge -r6554 from vtkvis trunk

Location:
vtkvis/branches/1.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vtkvis/branches/1.8

  • vtkvis/branches/1.8/Renderer.cpp

    r6183 r6555  
    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.