Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Charles Woodhill | |
Old Version | Published before Godot 3 was released. |
When i have a property that, when changed,
changes other properties, then they dont get updated in the property list of the editor.
EDIT:
i try to change a property of a resource that is a property of my node.
(after navigating to the resource)
but i tested with node itself too, and didnt work, so i think i miss something.
END_EDIT
is it possible “inform” the editor to refresh them? and how?
do i need to make a custom plugin/editor for it, or is ther another way like:
#ifdef tools_enabled
EditorNode::get_singleton()->get_property_editor()->signal_update(obj, propname, variantValue)
#endif
which i could directly call from node or resource implementation.
_change_notify()
might work.
mollusca | 2017-03-28 09:53
no _change_notify doesnt work :(, since change_receptors is empty on both node and resource
Charles Woodhill | 2017-03-28 10:40