Gui: Find scene bounding sphere after zoom

This commit is contained in:
Rexbas
2023-11-25 09:40:49 +01:00
parent affc49049e
commit 21f10dd36b

View File

@@ -744,6 +744,7 @@ void NavigationStyle::doZoom(SoCamera* camera, float logfactor, const SbVec2f& p
// Rotation mode is WindowCenter
if (!rotationCenterMode) {
viewer->changeRotationCenterPosition(getFocalPoint());
findBoundingSphere();
}
}
}