From f56fd1c47acc0a9b9e80e504ca727beffde6dc24 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 19 Feb 2015 16:51:51 +0100 Subject: Remove flipping for colinear case/ In such cases it is doubtful whether face orientation is really meaningful --- source/blender/editors/sculpt_paint/paint_image_proj.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source') 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; } -- cgit v1.2.3