summaryrefslogtreecommitdiffstats
path: root/platform/android/plugin/godot_plugin_jni.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-06 22:38:50 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-06 22:38:50 +0200
commit0e9950bde18add05d6fe8445d71a8697e3f12570 (patch)
tree68142e00d6e6e540c98ebc6f6722e423953555b0 /platform/android/plugin/godot_plugin_jni.cpp
parenta8692c0c250a57eef9ee796b6722622117c98334 (diff)
parent9dc0543da7323e970f4349e65b416ef31056df20 (diff)
downloadredot-engine-0e9950bde18add05d6fe8445d71a8697e3f12570.tar.gz
Merge pull request #96624 from m4gr3d/android_editor_improvements
[Android editor] Improve support for XR projects
Diffstat (limited to 'platform/android/plugin/godot_plugin_jni.cpp')
-rw-r--r--platform/android/plugin/godot_plugin_jni.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/android/plugin/godot_plugin_jni.cpp b/platform/android/plugin/godot_plugin_jni.cpp
index e3cde145cb..75c8dd9528 100644
--- a/platform/android/plugin/godot_plugin_jni.cpp
+++ b/platform/android/plugin/godot_plugin_jni.cpp
@@ -35,7 +35,6 @@
#include "string_android.h"
#include "core/config/engine.h"
-#include "core/config/project_settings.h"
#include "core/error/error_macros.h"
static HashMap<String, JNISingleton *> jni_singletons;
@@ -43,7 +42,6 @@ static HashMap<String, JNISingleton *> jni_singletons;
void unregister_plugins_singletons() {
for (const KeyValue<String, JNISingleton *> &E : jni_singletons) {
Engine::get_singleton()->remove_singleton(E.key);
- ProjectSettings::get_singleton()->set(E.key, Variant());
if (E.value) {
memdelete(E.value);
@@ -64,7 +62,6 @@ JNIEXPORT jboolean JNICALL Java_org_godotengine_godot_plugin_GodotPlugin_nativeR
jni_singletons[singname] = s;
Engine::get_singleton()->add_singleton(Engine::Singleton(singname, s));
- ProjectSettings::get_singleton()->set(singname, s);
return true;
}