Page 1 of 1

UI Toggle for enabling user parameters

Posted: 16 Dec 2019, 11:10
by bknight-i3drobotics

Currently to enable/disable the user parameter tool for an object is done using the following function in the Lua command console:

Code: Select all

The feature request is to have this ability with a tick box in the object properties dialogue. Or some other UI way of setting this property.

Re: UI Toggle for enabling user parameters

Posted: 16 Dec 2019, 13:51
by fferri
shouldn't the parameter be set from the embedded child script? e.g.:

Code: Select all

function sysCall_init()
although this has the drawback that the icon will appear only after running the scene the first time, but for me works quite well.

Otherwise, if you want to see the icon right away, you can use a customization script to set that param, e.g. similarily during initialization.

But if a UI element must be added, I'd say it should be a menu item, similar to Add -> Child Script, e.g. Edit -> Script parameters... that would show the parameters window also when empty, whereas if some parameter is set the icon is normally visible.