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>2005-10-24 23:22:04 +0400
committerTon Roosendaal <ton@blender.org>2005-10-24 23:22:04 +0400
commit066b0b1c7df65291b33467f7af0cfe9cb1d0641c (patch)
tree09076d6f98e889b7e0c7aa85e7d515346203e062 /source
parent050dcad59c20bfa206457f5ad06c46d749e79356 (diff)
Bugfix #3210
Included a patch by Pablo Marrol! selecting with ALT+CTRL combos didnt check if there was actually a Mesh in editmode.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/space.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 17722bb090e..06445e028a1 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -939,9 +939,9 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else if(G.obedit->type==OB_ARMATURE)
mouse_armature();
}
- else if((G.obedit) && (G.qual == (LR_CTRLKEY|LR_ALTKEY)))
+ else if((G.obedit && G.obedit->type==OB_MESH) && (G.qual == (LR_CTRLKEY|LR_ALTKEY)))
mouse_mesh(); // loop select for 1 mousebutton dudes
- else if((G.obedit) && (G.qual == (LR_CTRLKEY|LR_ALTKEY|LR_SHIFTKEY)))
+ else if((G.obedit && G.obedit->type==OB_MESH) && (G.qual == (LR_CTRLKEY|LR_ALTKEY|LR_SHIFTKEY)))
mouse_mesh(); // loop select for 1 mousebutton dudes
else if(G.qual==LR_CTRLKEY)
mouse_select(); // also allow in editmode, for vertex parenting