From 035999d0c30c068482b2119d312542cde194fdc2 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 16 Jan 2025 15:27:53 +0500 Subject: [PATCH] bim.update_openings_focus - remove unnecessary ifc operator --- src/bonsai/bonsai/bim/module/model/opening.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bonsai/bonsai/bim/module/model/opening.py b/src/bonsai/bonsai/bim/module/model/opening.py index 573f15c655..d1641eac90 100644 --- a/src/bonsai/bonsai/bim/module/model/opening.py +++ b/src/bonsai/bonsai/bim/module/model/opening.py @@ -901,13 +901,13 @@ class ShowOpenings(Operator, tool.Ifc.Operator): opening_obj.display_type = "WIRE" -class UpdateOpeningsFocus(Operator, tool.Ifc.Operator): +class UpdateOpeningsFocus(Operator): bl_idname = "bim.update_openings_focus" bl_label = "Update Openings Focus" bl_description = "Show objects that are not part of the object or its openings as transparent" bl_options = {"REGISTER", "UNDO"} - def _execute(self, context): + def execute(self, context): preferences = tool.Blender.get_addon_preferences() if preferences.opening_focus_opacity == 100: return {"FINISHED"}