Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-29 07:01:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-29 07:01:58 +0400
commit70829f05da1f46335988c694bdefbaa2ad894cb2 (patch)
tree77d087f2e519484890b206a202a2169e9b216b6f /source
parente45328f1b6519df29175ac852e8a822b5134fd94 (diff)
fix [#27198] Missing Live LSCM Update after Aligning of pinned vertices (W)
UV Sync Select was failing with live unwrap.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/uvedit/uvedit_unwrap_ops.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
index eece7fba91c..e1eab55b434 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
@@ -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);