diff --git a/src/bonsai/bonsai/bim/module/debug/operator.py b/src/bonsai/bonsai/bim/module/debug/operator.py index d2941d8cf0..bc9ea881c1 100644 --- a/src/bonsai/bonsai/bim/module/debug/operator.py +++ b/src/bonsai/bonsai/bim/module/debug/operator.py @@ -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", diff --git a/src/bonsai/bonsai/bim/module/debug/ui.py b/src/bonsai/bonsai/bim/module/debug/ui.py index e18160d425..1d79c8d32c 100644 --- a/src/bonsai/bonsai/bim/module/debug/ui.py +++ b/src/bonsai/bonsai/bim/module/debug/ui.py @@ -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)