Further work on new 3D text support

This commit is contained in:
Robert Osfield
2010-09-06 15:43:59 +00:00
parent 32db4d6a98
commit a6abbb545e
10 changed files with 109 additions and 179 deletions

View File

@@ -11,7 +11,7 @@ static bool checkFont( const osgText::Text3D& text )
static bool readFont( osgDB::InputStream& is, osgText::Text3D& text )
{
std::string fontName; is.readWrappedString( fontName );
text.setFont( osgText::readFont3DFile(fontName) );
text.setFont( osgText::readFontFile(fontName) );
return true;
}