Gui: Find scene bounding sphere after zoom

This commit is contained in:
Rexbas
2023-11-25 09:40:49 +01:00
parent 72c69ce2f0
commit 2a91413742

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();
}
}
}