Changeset 3586
- Timestamp:
- Mar 25, 2013 10:33:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/vtkRpCubeAxesActor.cpp
r3583 r3586 1936 1936 1937 1937 void vtkRpCubeAxesActor::AdjustTicksComputeRange(vtkRpAxisActor *axes[NUMBER_OF_ALIGNED_AXIS], 1938 double boundsMin, double boundsMax)1938 double boundsMin, double boundsMax) 1939 1939 { 1940 1940 double sortedRange[2], range; … … 2008 2008 // Figure out the first major tick locations, relative to the 2009 2009 // start of the axis. 2010 if (sortedRange[0] <= 0.) 2010 if (this->FFix(sortedRange[0]*(1./major)) == sortedRange[0]*(1./major)) 2011 { 2012 majorStart = sortedRange[0]; 2013 } 2014 else if (sortedRange[0] <= 0.) 2011 2015 { 2012 2016 majorStart = major*(this->FFix(sortedRange[0]*(1./major)) + 0.); … … 2033 2037 // Figure out the first minor tick locations, relative to the 2034 2038 // start of the axis. 2035 if (sortedRange[0] <= 0.) 2039 if (this->FFix(sortedRange[0]*(1./minor)) == sortedRange[0]*(1./minor)) 2040 { 2041 minorStart = sortedRange[0]; 2042 } 2043 else if (sortedRange[0] <= 0.) 2036 2044 { 2037 2045 minorStart = minor*(this->FFix(sortedRange[0]*(1./minor)) + 0.);
Note: See TracChangeset
for help on using the changeset viewer.