Commit: 68562905147fff5fc3bc4288f3b3c8cfe4e40dc0
Author: Antonio Vazquez
Date: Mon May 30 16:33:52 2022 +0200
Branches: blender-v3.2-release
https://developer.blender.org/rB68562905147fff5fc3bc4288f3b3c8cfe4e40dc0
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.
===================================================================
M source/blender/blenkernel/intern/object_update.c
===================================================================
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)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs