MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / notify_changes

Method notify_changes

editor/settings/editor_settings.cpp:2143–2158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2141}
2142
2143void EditorSettings::notify_changes() {
2144 _THREAD_SAFE_METHOD_
2145
2146 SceneTree *sml = Object::cast_to<SceneTree>(OS::get_singleton()->get_main_loop());
2147
2148 if (!sml) {
2149 return;
2150 }
2151
2152 Node *root = sml->get_root()->get_child(0);
2153
2154 if (!root) {
2155 return;
2156 }
2157 root->propagate_notification(NOTIFICATION_EDITOR_SETTINGS_CHANGED);
2158}
2159
2160void EditorSettings::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const {
2161 const String pf = p_function;

Callers 9

_notificationMethod · 0.80
_set_setting_valueMethod · 0.80
_force_online_modeMethod · 0.80
_theme_optionMethod · 0.80
_settings_saveMethod · 0.80
cancel_pressedMethod · 0.80
_force_online_modeMethod · 0.80

Calls 4

get_main_loopMethod · 0.45
get_childMethod · 0.45
get_rootMethod · 0.45

Tested by

no test coverage detected