| 2141 | } |
| 2142 | |
| 2143 | void 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 | |
| 2160 | void EditorSettings::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const { |
| 2161 | const String pf = p_function; |
no test coverage detected