diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2015-08-08 20:40:41 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2015-08-08 20:40:41 +0300 |
commit | e1cea530663cbd628c79bb0f48c18fc9dce57f05 (patch) | |
tree | c36e3686fb72e6dd7a3d44bc0506bba721623e3c /source/blender | |
parent | a9f6b272816b805aa88a232e6535ef22e24f807e (diff) |
Fix T45705: Selected to Active Cycles Baking no longer working
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/render/intern/source/bake_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/bake_api.c b/source/blender/render/intern/source/bake_api.c index 636c4db6ef3..24ea5eefabd 100644 --- a/source/blender/render/intern/source/bake_api.c +++ b/source/blender/render/intern/source/bake_api.c @@ -473,6 +473,7 @@ bool RE_bake_pixels_populate_from_objects( mesh_calc_tri_tessface(tris_high[i], highpoly[i].me, false, NULL); dm_highpoly[i] = CDDM_from_mesh(highpoly[i].me); + DM_ensure_tessface(dm_highpoly[i]); if (dm_highpoly[i]->getNumTessFaces(dm_highpoly[i]) != 0) { /* Create a bvh-tree for each highpoly object */ |