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/editsima.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/editsima.c')
-rw-r--r--source/blender/src/editsima.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index a9d376dfbcd..876baa00260 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -964,7 +964,6 @@ void uvedit_selectionCB(short selecting, Object *editobj, short *mval, float rad
EditFace *efa;
float offset[2];
MTFace *tface;
-
float ellipse[2]; // we need to deal with ellipses, as
// non square textures require for circle
// selection. this ellipse is normalized; r = 1.0
@@ -995,11 +994,14 @@ void uvedit_selectionCB(short selecting, Object *editobj, short *mval, float rad
bglFlush();
glDrawBuffer(GL_BACK);
}
+
+
+ if (selecting == LEFTMOUSE) EM_select_flush();
+ else EM_deselect_flush();
+
+ if (G.sima->lock && (G.sima->flag & SI_SYNC_UVSEL))
+ force_draw_plus(SPACE_VIEW3D, 0);
}
-
- if (selecting == LEFTMOUSE) EM_select_flush();
- else EM_deselect_flush();
- allqueue(REDRAWVIEW3D, 0);
}