diff options
| author | Bojidar Marinov | 2018-03-09 21:16:08 +0200 |
|---|---|---|
| committer | Bojidar Marinov | 2018-03-13 17:18:08 +0200 |
| commit | 9f6c0c6eaef754f2049ee536c5b38bfdc65fbd08 (patch) | |
| tree | 823f108360644d6403500810f31d08d7d5e37160 /editor/property_editor.cpp | |
| parent | b84236944215445be191047ab628e570ffd69e99 (diff) | |
| download | godot-9f6c0c6eaef754f2049ee536c5b38bfdc65fbd08.tar.gz godot-9f6c0c6eaef754f2049ee536c5b38bfdc65fbd08.tar.zst godot-9f6c0c6eaef754f2049ee536c5b38bfdc65fbd08.zip | |
Diffstat (limited to 'editor/property_editor.cpp')
| -rw-r--r-- | editor/property_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index 043add046..c73b1bd05 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -3939,7 +3939,7 @@ void PropertyEditor::_edit_button(Object *p_item, int p_column, int p_button) { if (_might_be_in_instance() && _get_instanced_node_original_property(prop, vorig)) { - _edit_set(prop, vorig); + _edit_set(prop, vorig.duplicate(true)); // Set, making sure to duplicate arrays properly return; } |
