mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
bim.create_shape_from_step_id - include curves by default
Though it's still possible to disable it from Redo menu.
This commit is contained in:
@@ -322,7 +322,7 @@ class CreateShapeFromStepId(bpy.types.Operator):
|
||||
bl_description = "Recreate a mesh object from a STEP ID"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
|
||||
should_include_curves: bpy.props.BoolProperty()
|
||||
should_include_curves: bpy.props.BoolProperty(default=True)
|
||||
step_id: bpy.props.IntProperty(default=0)
|
||||
geometry_library: bpy.props.EnumProperty(
|
||||
name="Geometry Library",
|
||||
|
||||
@@ -92,8 +92,7 @@ class BIM_PT_debug(Panel):
|
||||
row.operator("bim.restart_blender")
|
||||
|
||||
row = layout.split(factor=0.5, align=True)
|
||||
row.operator("bim.create_shape_from_step_id").should_include_curves = False
|
||||
row.operator("bim.create_shape_from_step_id", text="", icon="IPO_ELASTIC").should_include_curves = True
|
||||
row.operator("bim.create_shape_from_step_id")
|
||||
row.prop(props, "step_id", text="")
|
||||
|
||||
row = layout.split(factor=0.7, align=True)
|
||||
|
||||
Reference in New Issue
Block a user