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:
authorDiego Borghetti <bdiego@gmail.com>2007-04-27 20:56:29 +0400
committerDiego Borghetti <bdiego@gmail.com>2007-04-27 20:56:29 +0400
commitad470b6971b4db6b66bed57ef61e16f9d0ab206c (patch)
treedd914cf8806f7f1db9335565f93489da8ef70bc3 /source
parent76c11ec9f71ef796d6cd6cbbe09add73a30e4af2 (diff)
Fix hide/show don't work in object mode.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/space.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 631de27aead..df20b39e159 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1926,7 +1926,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
show_all_pose_bones();
}
/* Object mode only, other modes are accounted for above */
- else if ((G.f & G_VERTEXPAINT|G_TEXTUREPAINT|G_WEIGHTPAINT)==0) {
+ else if ((G.f & (G_VERTEXPAINT|G_TEXTUREPAINT|G_WEIGHTPAINT))==0) {
if(G.qual==LR_CTRLKEY)hookmenu();
else if(G.qual==LR_ALTKEY) show_objects();
else if(G.qual==LR_SHIFTKEY) hide_objects(0);