mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
black .
This commit is contained in:
@@ -113,6 +113,7 @@ def update_slab_direction_decorator(self: "BIMModelProperties", context: bpy.typ
|
|||||||
else:
|
else:
|
||||||
SlabDirectionDecorator.uninstall()
|
SlabDirectionDecorator.uninstall()
|
||||||
|
|
||||||
|
|
||||||
def update_cut_decorator(self: "BIMModelProperties", context: bpy.types.Context) -> None:
|
def update_cut_decorator(self: "BIMModelProperties", context: bpy.types.Context) -> None:
|
||||||
if self.show_cut_decorator:
|
if self.show_cut_decorator:
|
||||||
CutDecorator.install(bpy.context)
|
CutDecorator.install(bpy.context)
|
||||||
@@ -120,7 +121,6 @@ def update_cut_decorator(self: "BIMModelProperties", context: bpy.types.Context)
|
|||||||
CutDecorator.uninstall()
|
CutDecorator.uninstall()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def update_search_name(self: "BIMModelProperties", context: bpy.types.Context) -> None:
|
def update_search_name(self: "BIMModelProperties", context: bpy.types.Context) -> None:
|
||||||
AuthoringData.load()
|
AuthoringData.load()
|
||||||
# Total number of pages may decrease when using the search bar :
|
# Total number of pages may decrease when using the search bar :
|
||||||
|
|||||||
@@ -1319,6 +1319,7 @@ class BIM_PT_decorators_overlay(Panel):
|
|||||||
row.prop(model_props, "show_cut_decorator", text="Cut Decorator")
|
row.prop(model_props, "show_cut_decorator", text="Cut Decorator")
|
||||||
row.prop(model_props, "show_cut_decorator_fill", text="Fill Cut Decorator")
|
row.prop(model_props, "show_cut_decorator_fill", text="Fill Cut Decorator")
|
||||||
|
|
||||||
|
|
||||||
class BIM_PT_snappping(Panel):
|
class BIM_PT_snappping(Panel):
|
||||||
bl_space_type = "VIEW_3D"
|
bl_space_type = "VIEW_3D"
|
||||||
bl_region_type = "HEADER"
|
bl_region_type = "HEADER"
|
||||||
|
|||||||
Reference in New Issue
Block a user