mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 02:10:59 +00:00
Fix structural operator names for consistency with Blender naming
This commit is contained in:
@@ -34,7 +34,7 @@ class ShowLoads(bpy.types.Operator):
|
|||||||
"""Draw decorations to show strucutural actions in 3d view"""
|
"""Draw decorations to show strucutural actions in 3d view"""
|
||||||
|
|
||||||
bl_idname = "bim.show_loads"
|
bl_idname = "bim.show_loads"
|
||||||
bl_label = "Show loads in 3D View"
|
bl_label = "Show Loads in 3D View"
|
||||||
|
|
||||||
def modal(self, context, event):
|
def modal(self, context, event):
|
||||||
if event.type == "F5":
|
if event.type == "F5":
|
||||||
|
|||||||
@@ -465,7 +465,7 @@ class BIM_PT_show_structural_activities(Panel):
|
|||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
row.operator(
|
row.operator(
|
||||||
"bim.show_loads",
|
"bim.show_loads",
|
||||||
text="Show loads",
|
text="Show Loads",
|
||||||
icon="HIDE_OFF",
|
icon="HIDE_OFF",
|
||||||
)
|
)
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user