diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-11 20:15:42 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-11 20:15:42 +0300 |
commit | f5cff857a50fdd0a9c16c42f77e4d378b38196e0 (patch) | |
tree | 1a89058e3fef1201f50d74620f6cc502cdc01991 /source/blender/src/header_view3d.c | |
parent | feb210f08ebd5d6283624996883719b00fa590eb (diff) |
Tinsy fix for ~ key (set all layers). It as actually doing 21 layers :)
Reported by Matt, via Campbell, thanks!
Diffstat (limited to 'source/blender/src/header_view3d.c')
-rw-r--r-- | source/blender/src/header_view3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c index c3d57d7e2d7..18bd611ba4e 100644 --- a/source/blender/src/header_view3d.c +++ b/source/blender/src/header_view3d.c @@ -162,12 +162,12 @@ void do_layer_buttons(short event) G.vd->scenelock= !G.vd->scenelock; do_view3d_buttons(B_SCENELOCK); } else if (event==-1) { - if(G.vd->lay== (2<<20)-1) { + if(G.vd->lay== (1<<20)-1) { if(G.qual & LR_SHIFTKEY) G.vd->lay= oldlay; } else { oldlay= G.vd->lay; - G.vd->lay= (2<<20)-1; + G.vd->lay= (1<<20)-1; } if(G.vd->scenelock) handle_view3d_lock(); |