From 21f10dd36b6c7b37d7bafac5d5a152978b386697 Mon Sep 17 00:00:00 2001 From: Rexbas Date: Sat, 25 Nov 2023 09:40:49 +0100 Subject: [PATCH] Gui: Find scene bounding sphere after zoom --- src/Gui/NavigationStyle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/NavigationStyle.cpp b/src/Gui/NavigationStyle.cpp index 166251a852..9618b78fa7 100644 --- a/src/Gui/NavigationStyle.cpp +++ b/src/Gui/NavigationStyle.cpp @@ -744,6 +744,7 @@ void NavigationStyle::doZoom(SoCamera* camera, float logfactor, const SbVec2f& p // Rotation mode is WindowCenter if (!rotationCenterMode) { viewer->changeRotationCenterPosition(getFocalPoint()); + findBoundingSphere(); } } }