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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user