diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-05-30 17:33:52 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-05-30 17:39:27 +0300 |
commit | 68562905147fff5fc3bc4288f3b3c8cfe4e40dc0 (patch) | |
tree | a3dadfea7752181fb811387b3090e698f45ad826 /source | |
parent | de610d06a6b7c169c44138717a54baa890105730 (diff) |
Fix T98253: Gpencil Lineart crashes when undoing creation of linked copy
These lines were not used now because the handling of copy data has changed.
Assigning the `eval` data can produce unexpected result, especially since everywhere ID_RECALC_TRANSFORM is used, we also do a copy on write. That should take care of `ob->data` for the eval object.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/object_update.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c index f41d59c77ba..8ff02c7e698 100644 --- a/source/blender/blenkernel/intern/object_update.c +++ b/source/blender/blenkernel/intern/object_update.c @@ -130,11 +130,6 @@ void BKE_object_eval_transform_final(Depsgraph *depsgraph, Object *ob) else { ob->transflag &= ~OB_NEG_SCALE; } - - /* Assign evaluated version. */ - if ((ob->type == OB_GPENCIL) && (ob->runtime.gpd_eval != NULL)) { - ob->data = ob->runtime.gpd_eval; - } } void BKE_object_handle_data_update(Depsgraph *depsgraph, Scene *scene, Object *ob) |