diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-02 04:32:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-02 04:34:39 +0300 |
commit | c32e8fb09f08a5f9f8c8a261d864d32906140e29 (patch) | |
tree | c6ae53205392fc56d729e3cda802b26027e01a07 /source | |
parent | cd6442f7d4b56cb40102d86404fbaeae30dd2d32 (diff) |
Fix T47642: Crash baking w/ cycles
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/source/bake_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/bake_api.c b/source/blender/render/intern/source/bake_api.c index 6aec0a90269..eff021c9b14 100644 --- a/source/blender/render/intern/source/bake_api.c +++ b/source/blender/render/intern/source/bake_api.c @@ -566,7 +566,7 @@ bool RE_bake_pixels_populate_from_objects( } else { calc_point_from_barycentric_extrusion(tris_low, mat_low, imat_low, primitive_id, u, v, cage_extrusion, co, dir, false); - tri_low = &tris_cage[primitive_id]; + tri_low = &tris_low[primitive_id]; } /* cast ray */ |