From b9bd1ca9db5469da6a45ceebf737663f168e6de7 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Wed, 19 Mar 2025 11:26:47 +0100 Subject: [PATCH] Draft: fix sweep==0 issue with Draft_Rotate This is side-issue fixed with #19927. The rest of that PR should not be backported. --- src/Mod/Draft/draftguitools/gui_rotate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mod/Draft/draftguitools/gui_rotate.py b/src/Mod/Draft/draftguitools/gui_rotate.py index 8438615751..7e0ad2c086 100644 --- a/src/Mod/Draft/draftguitools/gui_rotate.py +++ b/src/Mod/Draft/draftguitools/gui_rotate.py @@ -161,8 +161,7 @@ class Rotate(gui_base_original.Modifier): sweep = angle - self.firstangle self.arctrack.setApertureAngle(sweep) for ghost in self.ghosts: - if sweep: - ghost.rotate(self.wp.axis, sweep) + ghost.rotate(self.wp.axis, sweep) ghost.on() self.ui.setRadiusValue(math.degrees(sweep), 'Angle') self.ui.radiusValue.setFocus()