[Bf-blender-cvs] [f56fd1c] master: Remove flipping for colinear case/ In such cases it is doubtful whether face orientation is really meaningful
Antony Riakiotakis
noreply at git.blender.org
Thu Feb 19 16:51:57 CET 2015
Commit: f56fd1c47acc0a9b9e80e504ca727beffde6dc24
Author: Antony Riakiotakis
Date: Thu Feb 19 16:51:51 2015 +0100
Branches: master
https://developer.blender.org/rBf56fd1c47acc0a9b9e80e504ca727beffde6dc24
Remove flipping for colinear case/ In such cases it is doubtful whether
face orientation is really meaningful
===================================================================
M source/blender/editors/sculpt_paint/paint_image_proj.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index 1c8e9fe..feeac2a 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -2122,16 +2122,6 @@ static void project_bucket_clip_face(
return;
}
- /* at this point we have all uv points needed in a row. all that's needed is to invert them if necessary */
- if (flip) {
- /* flip only to the middle of the array */
- int i, max = *tot - 1, mid = *tot / 2;
- for (i = 0; i < mid; i++) {
- SWAP(float, bucket_bounds_uv[i][0], bucket_bounds_uv[max - i][0]);
- SWAP(float, bucket_bounds_uv[i][1], bucket_bounds_uv[max - i][1]);
- }
- }
-
return;
}
More information about the Bf-blender-cvs
mailing list