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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-09-18 06:59:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-18 06:59:57 +0400
commita87b2ff22b8884449bf04a0773370a33a3a410a3 (patch)
treea58d34d099d0d1c5810e0ed02d45d25d789832bb /source/blender/src/editface.c
parentb32e5f7cb451b238d5ce62c97fa9431d4befd11b (diff)
unwrapper wasnt working properly when UVSyncSelection was NOT enabled.
unwrapper and UV mapping menu items were not selecting UV's when initializing a new UV layer selecting with the brush (BB) in the UV window did not update in the 3D view realtime, use the lock settings to make this work.
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r--source/blender/src/editface.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c
index 5b86181b4df..65e335ea6ab 100644
--- a/source/blender/src/editface.c
+++ b/source/blender/src/editface.c
@@ -365,6 +365,14 @@ void calculate_uv_map(unsigned short mapmode)
if (!EM_texFaceCheck())
return;
+
+ /* select new UV's */
+ if ((G.sima->flag & SI_SYNC_UVSEL)==0) {
+ for(efa=em->faces.first; efa; efa=efa->next) {
+ MTFace *tf= (MTFace *)CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
+ SIMA_FACESEL_SET(efa, tf);
+ }
+ }
}
ob=OBACT;