Draft: Fix Angle Lock

Fix problem with self.angle = None.
This commit is contained in:
Roy-043
2022-04-21 12:17:42 +02:00
committed by GitHub
parent cad2d2c95b
commit cd6f894986

View File

@@ -2161,7 +2161,8 @@ class DraftToolBar:
def toggleAngle(self,b):
self.alock = self.angleLock.isChecked()
if b:
self.update_cartesian_coords()
if self.alock:
if not self.globalMode:
angle_vec = FreeCAD.DraftWorkingPlane.getGlobalRot(self.angle)
else: