diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-04-08 23:14:22 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-04-08 23:14:22 +0400 |
commit | 79e3b3b8b0770374e085aaaae9ae29cbc05c1a51 (patch) | |
tree | 71fd461bb3064404f43d8056af0c1bdf112c2221 /source | |
parent | 36e3a7bb7e1287ca606d3132a9aef6d0d36992c3 (diff) |
== Sculpt Mode ==
Added the layers shortcuts (0-9, minus, equals, accent) for Sculpt Mode.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/space.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c index fd8abf56f48..73fc627ebe6 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -1444,6 +1444,33 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt) waitcursor(0); } break; + /* Layers */ + case ONEKEY: + do_layer_buttons(0); break; + case TWOKEY: + do_layer_buttons(1); break; + case THREEKEY: + do_layer_buttons(2); break; + case FOURKEY: + do_layer_buttons(3); break; + case FIVEKEY: + do_layer_buttons(4); break; + case SIXKEY: + do_layer_buttons(5); break; + case SEVENKEY: + do_layer_buttons(6); break; + case EIGHTKEY: + do_layer_buttons(7); break; + case NINEKEY: + do_layer_buttons(8); break; + case ZEROKEY: + do_layer_buttons(9); break; + case MINUSKEY: + do_layer_buttons(10); break; + case EQUALKEY: + do_layer_buttons(11); break; + case ACCENTGRAVEKEY: + do_layer_buttons(-1); break; } /* Redraw buttons window as well as view 3d (for floating panel) */ |