- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osg/Drawable.cpp
r10970 r13041 115 115 } 116 116 } 117 117 118 118 if (fr[0].matchWord("useVertexBufferObjects")) 119 119 { … … 144 144 fw.writeObject(*drawable.getStateSet()); 145 145 } 146 146 147 147 if (drawable.getShape()) 148 148 { … … 169 169 fw.writeObject(*drawable.getDrawCallback()); 170 170 } 171 172 171 172 173 173 if (drawable.getInitialBound().valid()) 174 174 { … … 177 177 <<bb.xMax()<<" "<<bb.yMax()<<" "<<bb.zMax()<<std::endl; 178 178 } 179 179 180 180 if (drawable.getComputeBoundingBoxCallback()) 181 181 { 182 182 fw.writeObject(*drawable.getComputeBoundingBoxCallback()); 183 183 } 184 184 185 185 186 186 if (!drawable.getSupportsDisplayList()) … … 198 198 if (drawable.getUseVertexBufferObjects()) fw << "TRUE" << std::endl; 199 199 else fw << "FALSE" << std::endl; 200 200 201 201 return true; 202 202 }
