[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36376] trunk/blender/source/blender/ editors/uvedit/uvedit_unwrap_ops.c: fix [#27198] Missing Live LSCM Update after Aligning of pinned vertices (W)
Campbell Barton
ideasman42 at gmail.com
Fri Apr 29 05:02:01 CEST 2011
Revision: 36376
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36376
Author: campbellbarton
Date: 2011-04-29 03:01:58 +0000 (Fri, 29 Apr 2011)
Log Message:
-----------
fix [#27198] Missing Live LSCM Update after Aligning of pinned vertices (W)
UV Sync Select was failing with live unwrap.
Modified Paths:
--------------
trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c
Modified: trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c
===================================================================
--- trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c 2011-04-28 17:19:32 UTC (rev 36375)
+++ trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c 2011-04-29 03:01:58 UTC (rev 36376)
@@ -170,8 +170,16 @@
float *uv[4];
int nverts;
- if((efa->h) || (sel && (efa->f & SELECT)==0))
- continue;
+ if(scene->toolsettings->uv_flag & UV_SYNC_SELECTION) {
+ if(efa->h) {
+ continue;
+ }
+ }
+ else {
+ if((efa->h) || (sel && (efa->f & SELECT)==0)) {
+ continue;
+ }
+ }
tf= (MTFace *)CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
More information about the Bf-blender-cvs
mailing list