mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Export template management dialog.
Missing download (need to discuss this!)
This commit is contained in:
parent
33a2c5def0
commit
b5a06cecff
12 changed files with 543 additions and 105 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue