Fixed typo of getNumMatrixManipulators().
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
*/
|
||||
void addNumberedMatrixManipulator(MatrixManipulator *cm);
|
||||
|
||||
unsigned int getNumMatrixManipualtors() const { return _manips.size(); }
|
||||
unsigned int getNumMatrixManipulators() const { return _manips.size(); }
|
||||
|
||||
void selectMatrixManipulator(unsigned int num);
|
||||
|
||||
|
||||
@@ -269,7 +269,7 @@ unsigned int Viewer::addCameraManipulator(osgGA::MatrixManipulator* cm)
|
||||
_eventHandlerList.push_back(_keyswitchManipulator.get());
|
||||
}
|
||||
|
||||
unsigned int num = _keyswitchManipulator->getNumMatrixManipualtors();
|
||||
unsigned int num = _keyswitchManipulator->getNumMatrixManipulators();
|
||||
_keyswitchManipulator->addNumberedMatrixManipulator(cm);
|
||||
|
||||
return num;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user