diff options
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r-- | source/blender/src/header_action.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c index 97c328f0b4f..11ff4820643 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -1270,14 +1270,23 @@ void action_buttons(void) uiClearButLock(); - /* draw LOCK */ + /* draw AUTOSNAP */ xco+= 8; + + uiDefIconTextButS(block, ICONTEXTROW,B_REDR, ICON_PROP_OFF, + "Auto-Snap Keys %t|Off %x0|Frame Step %x1|Nearest Frame %x2", + xco,0,XIC+10,YIC, &(G.saction->autosnap), 0, 1, 0, 0, + "Auto-snapping mode for keys when transforming"); + + xco+= (XIC + 18); + + /* draw LOCK*/ + uiDefIconButS(block, ICONTOG, 1, ICON_UNLOCKED, xco, 0, XIC, YIC, &(G.saction->lock), 0, 0, 0, 0, "Updates other affected window spaces automatically " "to reflect changes in real time"); - /* always as last */ curarea->headbutlen = xco + 2*XIC; |