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:
-rw-r--r--source/blender/render/intern/source/bake_api.c2
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 bb8278ca905..6bfe356082a 100644
--- a/source/blender/render/intern/source/bake_api.c
+++ b/source/blender/render/intern/source/bake_api.c
@@ -459,7 +459,7 @@ static void bake_differentials(BakeDataZSpan *bd, const float *uv1, const float
bd->dv_dy = (uv1[0] - uv3[0]) * A;
}
else {
- bd->du_dx = bd->dv_dx = 0.0f;
+ bd->du_dx = bd->du_dy = 0.0f;
bd->dv_dx = bd->dv_dy = 0.0f;
}
}