fix [#27198] Missing Live LSCM Update after Aligning of pinned vertices (W)
[blender-staging.git] / source / blender / editors / uvedit / uvedit_unwrap_ops.c
index eece7fba91c62ba8c1d82d752c2bb61f2f106e75..e1eab55b434c4277c73c904fbf6b2cf43e56628a 100644 (file)
@@ -170,8 +170,16 @@ static ParamHandle *construct_param_handle(Scene *scene, EditMesh *em, short imp
                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);