Depsgraph: Only store original mesh pointer for mesh object
This commit is contained in:
parent
52f9023fbf
commit
2b22a61152
|
@ -2851,7 +2851,6 @@ Mesh *BKE_object_get_evaluated_mesh(const Depsgraph *depsgraph, Object *ob)
|
|||
return ob_eval->runtime.mesh_eval;
|
||||
}
|
||||
|
||||
|
||||
static int pc_cmp(const void *a, const void *b)
|
||||
{
|
||||
const LinkData *ad = a, *bd = b;
|
||||
|
|
|
@ -542,7 +542,9 @@ void update_special_pointers(const Depsgraph *depsgraph,
|
|||
BLI_assert(object_cow->derivedDeform == NULL);
|
||||
object_cow->mode = object_orig->mode;
|
||||
object_cow->sculpt = object_orig->sculpt;
|
||||
object_cow->runtime.mesh_orig = (Mesh *)object_cow->data;
|
||||
if (object_cow->type == OB_MESH) {
|
||||
object_cow->runtime.mesh_orig = (Mesh *)object_cow->data;
|
||||
}
|
||||
if (object_cow->type == OB_ARMATURE) {
|
||||
BKE_pose_remap_bone_pointers((bArmature *)object_cow->data,
|
||||
object_cow->pose);
|
||||
|
|
Loading…
Reference in New Issue