Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/bake_api.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/render/intern/source/bake_api.c b/source/blender/render/intern/source/bake_api.c
index 346d57e17cf..a658a0e1138 100644
--- a/source/blender/render/intern/source/bake_api.c
+++ b/source/blender/render/intern/source/bake_api.c
@@ -368,12 +368,12 @@ static bool cast_ray_highpoly(
/* compute barycentric differentials from position differentials */
barycentric_differentials_from_position(
- hits[hit_mesh].co, triangle_high->mverts[0]->co,
- triangle_high->mverts[1]->co, triangle_high->mverts[2]->co,
- dxco, dyco, triangle_high->normal, true,
- &pixel_high->uv[0], &pixel_high->uv[1],
- &pixel_high->du_dx, &pixel_high->dv_dx,
- &pixel_high->du_dy, &pixel_high->dv_dy);
+ hits[hit_mesh].co, triangle_high->mverts[0]->co,
+ triangle_high->mverts[1]->co, triangle_high->mverts[2]->co,
+ dxco, dyco, triangle_high->normal, true,
+ &pixel_high->uv[0], &pixel_high->uv[1],
+ &pixel_high->du_dx, &pixel_high->dv_dx,
+ &pixel_high->du_dy, &pixel_high->dv_dy);
/* verify we have valid uvs */
BLI_assert(pixel_high->uv[0] >= -1e-3f &&