Draft: Fix multiple crashes when using modification functions - fixes #0004243

This commit is contained in:
marioalexis
2021-01-02 02:15:01 -03:00
parent 01072f3709
commit 4d9e29418a
13 changed files with 27 additions and 58 deletions

View File

@@ -103,9 +103,6 @@ class PathArray(gui_base_original.Modifier):
def proceed(self):
"""Proceed with the command if one object was selected."""
if self.call:
self.view.removeEventCallback("SoEvent", self.call)
sel = Gui.Selection.getSelectionEx()
if len(sel) != 2:
_err(_tr("Please select exactly two objects, "