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:
authorTon Roosendaal <ton@blender.org>2006-08-13 14:16:07 +0400
committerTon Roosendaal <ton@blender.org>2006-08-13 14:16:07 +0400
commitb416e3eeb4a41d247d50a741ed3c66405de57def (patch)
tree4702bcb1502b1273c7bbad040f30f00a07b4d061 /source
parent352623544688f596197d9f6faaf907e9a7cc8f69 (diff)
Bugfix #4878
In UV-Face-select mode, a CTRL+click can activate a new Object but keeps the UV-Face-select mode. This skips the initialization required for this mode, causing a crash, so it better should end the mode. (It used to work in past though...)
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editview.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/editview.c b/source/blender/src/editview.c
index 001105c43a9..0a19c86a070 100644
--- a/source/blender/src/editview.c
+++ b/source/blender/src/editview.c
@@ -1422,9 +1422,10 @@ void mouse_select(void)
if(G.f & G_VERTEXPAINT) {
set_vpaint(); /* toggle */
}
- if(G.f & G_FACESELECT) {
- set_faceselect(); /* toggle */
- }
+ }
+ /* always end this */
+ if(G.f & G_FACESELECT) {
+ set_faceselect(); /* toggle */
}
allqueue(REDRAWBUTSLOGIC, 0);