From 64df82eebf4c8ee65c1f1e9b1820bda8a1ea33a2 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 6 Apr 2018 10:48:37 +0200 Subject: [PATCH] fixes #0003421: Duplicate workbench message --- src/Mod/JtReader/InitGui.py | 40 +------------------------------------ 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/src/Mod/JtReader/InitGui.py b/src/Mod/JtReader/InitGui.py index ed0d9d2a4f..9c2869e1fd 100644 --- a/src/Mod/JtReader/InitGui.py +++ b/src/Mod/JtReader/InitGui.py @@ -1,4 +1,4 @@ -# Raytracing gui init module +# JtReader gui init module # (c) 2003 Juergen Riegel # # Gathering all the information to start FreeCAD @@ -30,41 +30,3 @@ #***************************************************************************/ - -class RaytracingWorkbench ( Workbench ): - "Raytracing workbench object" - Icon = """ - /* XPM */ - static char *arrows[]={ - "16 16 3 1", - "# c None", - ". c None", - "a c #0000FF", - "...........##...", - "...........#a#..", - "...##.......#a#a", - "..aaa#.......#aa", - "..#aaa#......#aa", - "...#aaa#........", - "....#aaa#.......", - ".....#aaa#...#..", - "......#aaa#.##..", - ".......#aaa#a#..", - "........#aaaa#..", - "##.......#aaa#..", - "#a#.....#aaaa#..", - ".#a##...#aaaa#..", - "..#aa...........", - "..aaa..........."}; - """ - MenuText = "Raytracing" - ToolTip = "Raytracing workbench" - - def Initialize(self): - # load the module - import PartGui - import RaytracingGui - def GetClassName(self): - return "RaytracingGui::Workbench" - -Gui.addWorkbench(RaytracingWorkbench())