Fix T86278: vertex color baking not working with modifiers

As in the old Blender Internal baking code, this still relies on there being a
good mapping to the original vertices.
This commit is contained in:
2021-05-12 23:14:58 +02:00
parent 912f2b1a29
commit 85be72c1cc
9 changed files with 121 additions and 58 deletions

View File

@@ -1146,7 +1146,7 @@ static PyObject *bpy_bmesh_from_object(BPy_BMesh *self, PyObject *args, PyObject
return NULL;
}
me_eval = BKE_mesh_new_from_object(depsgraph, ob_eval, true);
me_eval = BKE_mesh_new_from_object(depsgraph, ob_eval, true, false);
need_free = true;
}
else {