diff options
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object.cc b/source/blender/blenkernel/intern/object.cc index 495b1f0dafd..fc25153b3ff 100644 --- a/source/blender/blenkernel/intern/object.cc +++ b/source/blender/blenkernel/intern/object.cc @@ -5829,7 +5829,7 @@ void BKE_object_replace_data_on_shallow_copy(Object *ob, ID *new_data) ob->type = BKE_object_obdata_to_type(new_data); ob->data = (void *)new_data; ob->runtime.geometry_set_eval = nullptr; - ob->runtime.data_eval = nullptr; + ob->runtime.data_eval = new_data; if (ob->runtime.bb != nullptr) { ob->runtime.bb->flag |= BOUNDBOX_DIRTY; } |