You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
@@ -2654,34 +2654,42 @@ bool EditorInspectorDefaultPlugin::parse_property(Object *p_object, Variant::Typ
|
||||
} break;
|
||||
case Variant::ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break;
|
||||
case Variant::POOL_BYTE_ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::POOL_BYTE_ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break; // 20
|
||||
case Variant::POOL_INT_ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::POOL_INT_ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break;
|
||||
case Variant::POOL_REAL_ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::POOL_REAL_ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break;
|
||||
case Variant::POOL_STRING_ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::POOL_STRING_ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break;
|
||||
case Variant::POOL_VECTOR2_ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::POOL_VECTOR2_ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break;
|
||||
case Variant::POOL_VECTOR3_ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::POOL_VECTOR3_ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break; // 25
|
||||
case Variant::POOL_COLOR_ARRAY: {
|
||||
EditorPropertyArray *editor = memnew(EditorPropertyArray);
|
||||
editor->setup(Variant::POOL_COLOR_ARRAY);
|
||||
add_property_editor(p_path, editor);
|
||||
} break;
|
||||
default: {}
|
||||
|
||||
Reference in New Issue
Block a user