From ecefdb677d671f0322201e3a7219dda6e9f8594d Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Fri, 1 Oct 2021 17:57:52 -0700 Subject: [PATCH] Fix View Angle's home button Signed-off-by: Louise Poubel --- src/gui/plugins/view_angle/ViewAngle.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/plugins/view_angle/ViewAngle.cc b/src/gui/plugins/view_angle/ViewAngle.cc index 0137aff389..b4fc5d014f 100644 --- a/src/gui/plugins/view_angle/ViewAngle.cc +++ b/src/gui/plugins/view_angle/ViewAngle.cc @@ -310,6 +310,7 @@ void ViewAnglePrivate::OnRender() if (isUserCamera) { this->camera = cam; + this->moveToHelper.SetInitCameraPose(this->camera->WorldPose()); igndbg << "ViewAngle plugin is moving camera [" << this->camera->Name() << "]" << std::endl; break;