diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-29 07:01:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-29 07:01:58 +0400 |
commit | 70829f05da1f46335988c694bdefbaa2ad894cb2 (patch) | |
tree | 77d087f2e519484890b206a202a2169e9b216b6f /source/blender/editors/uvedit | |
parent | e45328f1b6519df29175ac852e8a822b5134fd94 (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/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 12 |
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); |