Skip to content

Commit

Permalink
Fix array variable with@export_multiline not registering changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreckof committed May 21, 2024
1 parent aaa4560 commit 0e8abb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/editor_properties_array_dict.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0e8abb5

Please sign in to comment.