diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-18 11:51:10 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-18 14:02:02 +0100 |
commit | b4d1882dc37bdf769994d41712d26a9a7e7145ef (patch) | |
tree | e0ae6e03198476a7d5601cb45209dc91c5781519 | |
parent | c3f4c1baed7ce9b148125dd8e2499a2bac9df172 (diff) |
EditorProperty: Fix handling of PackedRealArray
-rw-r--r-- | editor/editor_properties_array_dict.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 86b2642faa..4b8bf7f687 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -225,33 +225,26 @@ void EditorPropertyArray::update_property() { switch (array_type) { case Variant::ARRAY: { arrtype = "Array"; - } break; // arrays case Variant::PACKED_BYTE_ARRAY: { arrtype = "PackedByteArray"; - } break; case Variant::PACKED_INT_ARRAY: { arrtype = "PackedIntArray"; - } break; case Variant::PACKED_REAL_ARRAY: { - - arrtype = "PoolFloatArray"; + arrtype = "PackedRealArray"; } break; case Variant::PACKED_STRING_ARRAY: { - arrtype = "PackedStringArray"; } break; case Variant::PACKED_VECTOR2_ARRAY: { - arrtype = "PackedVector2Array"; } break; case Variant::PACKED_VECTOR3_ARRAY: { arrtype = "PackedVector3Array"; - } break; case Variant::PACKED_COLOR_ARRAY: { arrtype = "PackedColorArray"; |