libzeug
libzeug copied to clipboard
Add an annotation to make properties invisible in GUI
is this still needed? you could just remove the property from the group.
Yes, it's still needed. Sometimes, we want a property to be accessible, e.g. via scripting, but not visible in the UI (e.g., for debug purposes). This should just be a hint to the UI, not to show a widget for the property
you could put the property in two different groups. the first one is used for the ui, the second could be for scripting.
Yes, I could do that, but that would be overly complicated. I organize properties in a way that they belong to an object, and then I just pass that object to the UI, the scripting etc. I don't want to have to maintain different sets of property groups for GUI and scripting. Please keep in mind that there are different styles of using properties here ...