Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/ive/Text3D.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ive/Text3D.cpp
r12292 r13041 35 35 else 36 36 out_THROW_EXCEPTION("Text::write(): Could not cast this osgText::Text to an osg::Drawable."); 37 37 38 38 // Write Text's properties. 39 39 if( getFont() ) … … 65 65 out->writeFloat(getMaximumWidth()); 66 66 out->writeFloat(getMaximumHeight()); 67 67 68 68 out->writeFloat(getLineSpacing()); 69 69 70 70 out->writeUInt(getAlignment()); 71 71 … … 105 105 106 106 //std::copy(textstring.begin(),textstring.end(),std::back_inserter(str)); 107 107 108 108 out->writeBool(true); 109 109 out->writeString(str); … … 113 113 // do it the hardway...output each character as an int 114 114 osg::ref_ptr<osg::UIntArray> strarr = new osg::UIntArray(textstring.size()); 115 115 116 116 for(itr=textstring.begin(); 117 117 itr!=textstring.end();
