From b2a87d0be79d8207da68947340bee595e34ba393 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Sat, 2 Oct 2021 09:44:01 +0200 Subject: [PATCH] Update InitGui.py Removed temp code. --- src/Mod/Draft/InitGui.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/Mod/Draft/InitGui.py b/src/Mod/Draft/InitGui.py index ced2528c63..1952d50e0c 100644 --- a/src/Mod/Draft/InitGui.py +++ b/src/Mod/Draft/InitGui.py @@ -92,15 +92,9 @@ class DraftWorkbench(FreeCADGui.Workbench): # Set up command lists import draftutils.init_tools as it - if hasattr(it, "get_draft_drawing_commands_temp"): - self.drawing_commands = it.get_draft_drawing_commands_temp() - else: - self.drawing_commands = it.get_draft_drawing_commands() + self.drawing_commands = it.get_draft_drawing_commands() self.annotation_commands = it.get_draft_annotation_commands() - if hasattr(it, "get_draft_modification_commands_temp"): - self.modification_commands = it.get_draft_modification_commands_temp() - else: - self.modification_commands = it.get_draft_modification_commands() + self.modification_commands = it.get_draft_modification_commands() self.utility_commands_menu = it.get_draft_utility_commands_menu() self.utility_commands_toolbar = it.get_draft_utility_commands_toolbar() self.context_commands = it.get_draft_context_commands()