Restructed and unified the position computation

This commit is contained in:
Robert Osfield
2017-02-23 15:45:43 +00:00
parent 7b3ecefcfc
commit 8ff17ddf52
7 changed files with 235 additions and 309 deletions

View File

@@ -394,7 +394,7 @@ void FadeText::drawImplementation(osg::RenderInfo& renderInfo) const
}
osg::Matrix lmv = state.getModelViewMatrix();
computeMatrix(state, lmv);
computeMatrix(lmv, &state);
lmv.postMult(state.getModelViewMatrix());
if (renderInfo.getView() && renderInfo.getView()->getCamera())