Refactored the mutex usage in osgText and freetype plugin to prevent multi-thread crash

This commit is contained in:
Robert Osfield
2008-02-25 12:54:54 +00:00
parent 3333ca2b46
commit e869200b3d
10 changed files with 169 additions and 639 deletions

View File

@@ -224,8 +224,6 @@ void Text3D::computeGlyphRepresentation()
return;
}
OpenThreads::ScopedLock<Font3D::Font3DMutex> lock(*(_font->getSerializeFontCallsMutex()));
// initialize bounding box, it will be expanded during glyph position calculation
_textBB.init();