From 85be72c1cc7317796dcce3ddc6ec2dedd627ff81 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 12 May 2021 23:14:58 +0200 Subject: 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. --- source/blender/python/bmesh/bmesh_py_types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python') diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index 563a76ac824..ebe6ed79578 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -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 { -- cgit v1.2.3