mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
bim.update_openings_focus - remove unnecessary ifc operator
This commit is contained in:
@@ -901,13 +901,13 @@ class ShowOpenings(Operator, tool.Ifc.Operator):
|
|||||||
opening_obj.display_type = "WIRE"
|
opening_obj.display_type = "WIRE"
|
||||||
|
|
||||||
|
|
||||||
class UpdateOpeningsFocus(Operator, tool.Ifc.Operator):
|
class UpdateOpeningsFocus(Operator):
|
||||||
bl_idname = "bim.update_openings_focus"
|
bl_idname = "bim.update_openings_focus"
|
||||||
bl_label = "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_description = "Show objects that are not part of the object or its openings as transparent"
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
|
|
||||||
def _execute(self, context):
|
def execute(self, context):
|
||||||
preferences = tool.Blender.get_addon_preferences()
|
preferences = tool.Blender.get_addon_preferences()
|
||||||
if preferences.opening_focus_opacity == 100:
|
if preferences.opening_focus_opacity == 100:
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|||||||
Reference in New Issue
Block a user