Revision: 39494
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39494
Author:   blendix
Date:     2011-08-17 14:43:11 +0000 (Wed, 17 Aug 2011)
Log Message:
-----------
Fix #28262: uv unwrap in sync selection mode unwrapped all faces irrespective
of selection. Changed the fix for bug #27198, live unwrap not working with
sync selection.

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-08-17 13:14:44 UTC (rev 39493)
+++ trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c     
2011-08-17 14:43:11 UTC (rev 39494)
@@ -205,11 +205,7 @@
                float *uv[4];
                int nverts;
                
-               if(scene->toolsettings->uv_flag & UV_SYNC_SELECTION) {
-                       if(efa->h)
-                               continue;
-               }
-               else if((efa->h) || (sel && (efa->f & SELECT)==0))
+               if((efa->h) || (sel && (efa->f & SELECT)==0))
                        continue;
 
                tf= (MTFace *)CustomData_em_get(&em->fdata, efa->data, 
CD_MTFACE);
@@ -586,7 +582,7 @@
                return;
        }
 
-       liveHandle = construct_param_handle(scene, em, 0, fillholes, 1, 1);
+       liveHandle = construct_param_handle(scene, em, 0, fillholes, 0, 1);
 
        param_lscm_begin(liveHandle, PARAM_TRUE, abf);
        BKE_mesh_end_editmesh(obedit->data, em);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to