mirror of
https://github.com/godotengine/godot
synced 2024-09-15 23:46:15 +00:00
Fix array variable with@export_multiline
not registering changes.
This commit is contained in:
parent
aaa4560729
commit
0e8abb5132
|
@ -235,6 +235,9 @@ void EditorPropertyArray::_property_changed(const String &p_property, Variant p_
|
|||
Variant array = object->get_array().duplicate();
|
||||
array.set(index, p_value);
|
||||
emit_changed(get_edited_property(), array, p_name, p_changing);
|
||||
if (p_changing) {
|
||||
object->set_array(array);
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPropertyArray::_change_type(Object *p_button, int p_slot_index) {
|
||||
|
|
Loading…
Reference in a new issue