mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
make sure array is created if not existing, as noted by Guilherme Felipe
This commit is contained in:
parent
d50921b550
commit
b0be30d9ef
4 changed files with 14 additions and 7 deletions
|
|
@ -3143,7 +3143,7 @@ void PropertyEditor::_edit_button(Object *p_item, int p_column, int p_button) {
|
|||
}
|
||||
|
||||
Ref<ArrayPropertyEdit> ape = memnew( ArrayPropertyEdit );
|
||||
ape->edit(obj,n);
|
||||
ape->edit(obj,n,Variant::Type(t));
|
||||
|
||||
EditorNode::get_singleton()->push_item(ape.ptr());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue