- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osg/TexMat.cpp
r10970 r13041 36 36 if (matched) 37 37 { 38 38 39 39 Matrix& matrix = texmat.getMatrix(); 40 40 41 41 int k=0; 42 42 double v; … … 56 56 if (fr[0].matchWord("scaleByTextureRectangleSize")) 57 57 { 58 if (fr[1].matchWord("TRUE")) 58 if (fr[1].matchWord("TRUE")) 59 59 { 60 60 texmat.setScaleByTextureRectangleSize(true); … … 62 62 iteratorAdvanced = true; 63 63 } 64 else if (fr[1].matchWord("FALSE")) 64 else if (fr[1].matchWord("FALSE")) 65 65 { 66 66 texmat.setScaleByTextureRectangleSize(false); … … 82 82 fw.indent() << matrix(2,0) << " " << matrix(2,1) << " " << matrix(2,2) << " " << matrix(2,3) << std::endl; 83 83 fw.indent() << matrix(3,0) << " " << matrix(3,1) << " " << matrix(3,2) << " " << matrix(3,3) << std::endl; 84 84 85 85 if (texmat.getScaleByTextureRectangleSize()) 86 86 { 87 87 fw.indent() << "scaleByTextureRectangleSize TRUE"<<std::endl; 88 } 89 88 } 89 90 90 return true; 91 91 }
