Draft: fix sweep==0 issue with Draft_Rotate

This is side-issue fixed with #19927. The rest of that PR should not be backported.
This commit is contained in:
Roy-043
2025-03-19 11:26:47 +01:00
parent a2f3edbbf9
commit b9bd1ca9db
+1 -2
View File
@@ -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()