I am writing a custom
WorkSpaceTool, getting inspiration from the related Python templates, and in particular I display some tool settings:
Some of these settings come from the operator called when mouse moves, some others from the one called when the user clicks:
props = tool.operator_properties(ops.OperatorCalledOnClick.bl_idname) layout.prop(props, "freeze_threshold") layout.prop(props, "solver", text="") props = tool.operator_properties(ops.OperatorCalledOnMove.bl_idname) layout.prop(props, "preview_scale")
But how can I have a setting that affects both operators without displaying it several times in the UI?