mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Fixed bug using tab editing arbitrary profile
It was assuming we were editing extrusion profile and therefore was giving errors.
This commit is contained in:
@@ -1549,6 +1549,9 @@ class OverrideModeSetObject(bpy.types.Operator):
|
|||||||
bpy.ops.bim.finish_editing_roof_path()
|
bpy.ops.bim.finish_editing_roof_path()
|
||||||
elif tool.Model.get_usage_type(element) == "PROFILE":
|
elif tool.Model.get_usage_type(element) == "PROFILE":
|
||||||
bpy.ops.bim.edit_extrusion_axis()
|
bpy.ops.bim.edit_extrusion_axis()
|
||||||
|
# if in the process of editing arbitrary profile
|
||||||
|
elif context.scene.BIMProfileProperties.active_arbitrary_profile_id:
|
||||||
|
bpy.ops.bim.edit_arbitrary_profile()
|
||||||
else:
|
else:
|
||||||
bpy.ops.bim.edit_extrusion_profile()
|
bpy.ops.bim.edit_extrusion_profile()
|
||||||
return self.execute(context)
|
return self.execute(context)
|
||||||
|
|||||||
Reference in New Issue
Block a user