Merge pull request #344 from eligovision/OpenSceneGraph_text3d
Text3D dynamic changing fix
This commit is contained in:
commit
4bc1320709
@ -438,9 +438,11 @@ void Text3D::computeGlyphRepresentation()
|
|||||||
{
|
{
|
||||||
(*_coords)[i] += position;
|
(*_coords)[i] += position;
|
||||||
}
|
}
|
||||||
|
_coords->dirty();
|
||||||
|
|
||||||
// copy normals
|
// copy normals
|
||||||
_normals->insert(_normals->end(), src_normals->begin(), src_normals->end());
|
_normals->insert(_normals->end(), src_normals->begin(), src_normals->end());
|
||||||
|
_normals->dirty();
|
||||||
|
|
||||||
copyAndOffsetPrimitiveSets(_frontPrimitiveSetList, it->_glyphGeometry->getFrontPrimitiveSetList(), base);
|
copyAndOffsetPrimitiveSets(_frontPrimitiveSetList, it->_glyphGeometry->getFrontPrimitiveSetList(), base);
|
||||||
copyAndOffsetPrimitiveSets(_wallPrimitiveSetList, it->_glyphGeometry->getWallPrimitiveSetList(), base);
|
copyAndOffsetPrimitiveSets(_wallPrimitiveSetList, it->_glyphGeometry->getWallPrimitiveSetList(), base);
|
||||||
|
Loading…
Reference in New Issue
Block a user