Merge pull request #4492 from marioalexis84/draft-wp_restore

Draft: Fixes #0004562: Active working plane changes when I close Draft Edit panel
This commit is contained in:
Yorik van Havre
2021-06-30 10:50:25 +02:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -180,7 +180,6 @@ class DraftTool:
self.ui.sourceCmd = None
if self.planetrack:
self.planetrack.finalize()
App.DraftWorkingPlane.restore()
if hasattr(Gui, "Snapper"):
Gui.Snapper.off()
if self.call:

View File

@@ -362,7 +362,6 @@ class Edit(gui_base_original.Modifier):
self.deformat_objects_after_editing(self.edited_objects)
super(Edit, self).finish()
App.DraftWorkingPlane.restore()
if Gui.Snapper.grid:
Gui.Snapper.grid.set()
self.running = False