Skip to content

Commit

Permalink
Gui: Find scene bounding sphere after zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexbas committed Nov 25, 2023
1 parent 72c69ce commit 2a91413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gui/NavigationStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ void NavigationStyle::doZoom(SoCamera* camera, float logfactor, const SbVec2f& p
// Rotation mode is WindowCenter
if (!rotationCenterMode) {
viewer->changeRotationCenterPosition(getFocalPoint());
findBoundingSphere();
}
}
}
Expand Down

0 comments on commit 2a91413

Please sign in to comment.