We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf9dd0 commit 43b39cfCopy full SHA for 43b39cf
toolkit/src/main/cpp/editor/meta_xr_simulator_dialog.cpp
@@ -156,8 +156,10 @@ void MetaXRSimulatorDialog::_set_simulator_path(const String &p_path) {
156
runtime_paths = editor_settings->get_setting(OPENXR_RUNTIME_PATHS_SETTING);
157
}
158
159
- runtime_paths[META_SIMULATOR_RUNTIME_NAME] = p_path;
160
- editor_settings->set_setting(OPENXR_RUNTIME_PATHS_SETTING, runtime_paths);
+ Dictionary new_runtime_paths;
+ new_runtime_paths.merge(runtime_paths);
161
+ new_runtime_paths[META_SIMULATOR_RUNTIME_NAME] = p_path;
162
+ editor_settings->set_setting(OPENXR_RUNTIME_PATHS_SETTING, new_runtime_paths);
163
164
165
MetaXRSimulatorDialog::MetaXRSimulatorDialog() {
0 commit comments