[Bf-blender-cvs] [5e75acf] master: Fix T46450: Seams from islands, wont show 'Sharp'

Campbell Barton noreply at git.blender.org
Tue Oct 13 00:07:27 CEST 2015


Commit: 5e75acf81d57bd577abba0818ac98d221299181e
Author: Campbell Barton
Date:   Tue Oct 13 09:00:03 2015 +1100
Branches: master
https://developer.blender.org/rB5e75acf81d57bd577abba0818ac98d221299181e

Fix T46450: Seams from islands, wont show 'Sharp'

===================================================================

M	source/blender/editors/uvedit/uvedit_ops.c

===================================================================

diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 71d557f..728e366 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -4119,7 +4119,13 @@ static int uv_seams_from_islands_exec(bContext *C, wmOperator *op)
 		}
 	}
 
-	me->drawflag |= ME_DRAWSEAMS;
+	if (mark_seams) {
+		me->drawflag |= ME_DRAWSEAMS;
+	}
+	if (mark_sharp) {
+		me->drawflag |= ME_DRAWSHARP;
+	}
+
 
 	BM_uv_vert_map_free(vmap);




More information about the Bf-blender-cvs mailing list