From 03be9c7a08afaaa8ff8b6dd230f9a4c2ce64eb44 Mon Sep 17 00:00:00 2001 From: Lubomir Jagos Date: Thu, 28 Sep 2023 04:44:38 +0200 Subject: [PATCH] HOTFIX BlenderHelpers.py --- utilsOpenEMS/GuiHelpers/BlenderHelpers.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/utilsOpenEMS/GuiHelpers/BlenderHelpers.py b/utilsOpenEMS/GuiHelpers/BlenderHelpers.py index e26de69..059cef7 100644 --- a/utilsOpenEMS/GuiHelpers/BlenderHelpers.py +++ b/utilsOpenEMS/GuiHelpers/BlenderHelpers.py @@ -8,8 +8,16 @@ from mathutils import Vector class BlenderToCadObject: + # + # __init__() must be REPAIRED!!! + # def __init__(self, blenderObj): - super(BlenderHelpers, self).__init__(APP_DIR) + # + # ERROR this is not running, need to figure out but with this in Blender UI is not opened!!! + # NEED TO BE REPAIRED!!! + # HOTFIX for now Sep2023 to comment it and need to test GUI in Blender if it's running + # + #super(BlenderHelpers, self).__init__(APP_DIR) self.Label = blenderObj.name try: @@ -182,4 +190,4 @@ def removeObject(self, objName): o.select_set(True) # Call the operator only once - bpy.ops.object.delete() \ No newline at end of file + bpy.ops.object.delete()