Fix T47642: Crash baking w/ cycles

This commit is contained in:
Campbell Barton 2016-03-02 12:32:42 +11:00 committed by Sergey Sharybin
parent 322fa27829
commit 198700a36d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */