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
path: root/source
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-02-19 18:51:51 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-02-19 18:51:51 +0300
commitf56fd1c47acc0a9b9e80e504ca727beffde6dc24 (patch)
tree8f63fbe86525fb34635682715d3728c2cf2d7bd6 /source
parentb1d02f3d576629b9573847ab9a4f52251032cb21 (diff)
Remove flipping for colinear case/ In such cases it is doubtful whether
face orientation is really meaningful
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index 1c8e9fedd73..feeac2a2af7 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;
}