diff options
author | Diego Borghetti <bdiego@gmail.com> | 2007-04-27 20:56:29 +0400 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2007-04-27 20:56:29 +0400 |
commit | ad470b6971b4db6b66bed57ef61e16f9d0ab206c (patch) | |
tree | dd914cf8806f7f1db9335565f93489da8ef70bc3 /source/blender/src/space.c | |
parent | 76c11ec9f71ef796d6cd6cbbe09add73a30e4af2 (diff) |
Fix hide/show don't work in object mode.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 2 |
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); |