You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Export template management dialog.
Missing download (need to discuss this!)
This commit is contained in:
@@ -350,7 +350,7 @@ Variant _jobject_to_variant(JNIEnv *env, jobject obj) {
|
||||
|
||||
jobjectArray arr = (jobjectArray)obj;
|
||||
int objCount = env->GetArrayLength(arr);
|
||||
Array varr(true);
|
||||
Array varr;
|
||||
|
||||
for (int i = 0; i < objCount; i++) {
|
||||
jobject jobj = env->GetObjectArrayElement(arr, i);
|
||||
@@ -364,7 +364,7 @@ Variant _jobject_to_variant(JNIEnv *env, jobject obj) {
|
||||
|
||||
if (name == "java.util.HashMap" || name == "org.godotengine.godot.Dictionary") {
|
||||
|
||||
Dictionary ret(true);
|
||||
Dictionary ret;
|
||||
jclass oclass = c;
|
||||
jmethodID get_keys = env->GetMethodID(oclass, "get_keys", "()[Ljava/lang/String;");
|
||||
jobjectArray arr = (jobjectArray)env->CallObjectMethod(obj, get_keys);
|
||||
|
||||
Reference in New Issue
Block a user