Skip to content

Commit

Permalink
Zoom and zoom-to-selection reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
r-wessel committed Nov 14, 2024
1 parent 67cbcba commit e9dff1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpeckleLib/Speckle/Environment/Host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ void Host::zoomToFit(bool isSelectionOnly) const {
#ifdef ARCHICAD
if (isSelectionOnly)
#ifdef ServerMainVers_2700
ACAPI_View_Zoom();
ACAPI_View_ZoomToSelected();
#else
ACAPI_Automate(APIDo_ZoomToSelectedID);
#endif
else
#ifdef ServerMainVers_2700
ACAPI_View_ZoomToSelected();
ACAPI_View_Zoom();
#else
ACAPI_Automate(APIDo_ZoomID);
#endif
Expand Down

0 comments on commit e9dff1a

Please sign in to comment.