diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index afd9d7b3f935d4e1bce121189873070a12629cbb..25f504c785a98ebcdc916bc79f1d278c40fb0e34 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3062,7 +3062,7 @@ void LLAgent::updateCamera() } // Update UI with our camera inputs - LLFloaterCamera* camera_floater = LLFloaterReg::findTypedInstance<LLFloaterCamera>("camera"); + LLFloaterCamera* camera_floater = LLFloaterCamera::findInstance(); if (camera_floater) { camera_floater->mRotate->setToggleState(