- Timestamp:
- 03/18/08 16:37:38 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/osg/AutoTransform.cpp
r7965 r7968 141 141 } 142 142 143 if (fr.matchSequence("autoScaleTransistionWidthRatio %f")) 144 { 145 float ratio; 146 fr[1].getFloat(ratio); 147 148 transform.setAutoScaleTransistionWidthRatio(ratio); 149 150 fr += 2; 151 iteratorAdvanced = true; 152 } 153 154 143 155 return iteratorAdvanced; 144 156 } … … 168 180 } 169 181 170 171 182 fw.indent()<<"autoScaleToScreen "<<(transform.getAutoScaleToScreen()?"TRUE":"FALSE")<<std::endl; 172 183 184 if (transform.getAutoScaleTransistionWidthRatio()!=0.25) 185 { 186 fw.indent()<<"autoScaleTransistionWidthRatio "<<transform.getAutoScaleTransistionWidthRatio()<<std::endl; 187 } 188 173 189 return true; 174 190 }
