Fixed typo of getNumMatrixManipulators().

This commit is contained in:
Robert Osfield
2003-08-19 14:05:53 +00:00
parent 75e4d43026
commit e2a72f7e72
3 changed files with 3 additions and 3 deletions

View File

@@ -858,7 +858,7 @@ bool ViewerEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActio
osgGA::KeySwitchMatrixManipulator* kscm = viewer->getKeySwitchMatrixManipulator();
if (kscm)
{
for(apmNo=0;apmNo<kscm->getNumMatrixManipualtors() && apm==0;++apmNo)
for(apmNo=0;apmNo<kscm->getNumMatrixManipulators() && apm==0;++apmNo)
{
apm = dynamic_cast<osgGA::AnimationPathManipulator*>(kscm->getMatrixManipulator(apmNo));
}