0 votes

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.

in Engine by (67 points)
edited by

_change_notify() might work.

no _change_notify doesnt work :(, since change_receptors is empty on both node and resource

1 Answer

0 votes
Best answer

_change_notify() is the correct answer,
tnx mollusca :)
one only have to make sure to call it in the right place :)

by (67 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.