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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user