BIM: Fix BIM_Leader callback bug

Probably due to changes in gui_lines `self.call` was no longer ended.

Fixes: #17283.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=91413
This commit is contained in:
Roy-043
2024-10-16 11:15:16 +02:00
committed by Yorik van Havre
parent 9806a46324
commit a608b36623

View File

@@ -52,6 +52,7 @@ class BIM_Leader(gui_lines.Line):
def finish(self, closed=False, cont=False):
import DraftVecUtils
self.end_callbacks(self.call)
self.removeTemporaryObject()
if getattr(self,"oldWP",None):
FreeCAD.DraftWorkingPlane = self.oldWP