You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix editing exports in a base script not propagating the change to the opened property editor
This patch fixes the user having to navigate away from the selected node which has the derived script attached and back to see the changes of the base script exports reflected in the property editor.
This commit is contained in:
@@ -163,13 +163,14 @@ class GDScript : public Script {
|
||||
HashSet<PlaceHolderScriptInstance *> placeholders;
|
||||
//void _update_placeholder(PlaceHolderScriptInstance *p_placeholder);
|
||||
virtual void _placeholder_erased(PlaceHolderScriptInstance *p_placeholder) override;
|
||||
void _update_exports_down(bool p_base_exports_changed);
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
HashMap<ObjectID, List<Pair<StringName, Variant>>> pending_reload_state;
|
||||
#endif
|
||||
|
||||
bool _update_exports(bool *r_err = nullptr, bool p_recursive_call = false, PlaceHolderScriptInstance *p_instance_to_update = nullptr);
|
||||
bool _update_exports(bool *r_err = nullptr, bool p_recursive_call = false, PlaceHolderScriptInstance *p_instance_to_update = nullptr, bool p_base_exports_changed = false);
|
||||
|
||||
void _save_orphaned_subclasses(GDScript::ClearData *p_clear_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user