diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-16 22:39:30 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-16 22:39:30 +0300 |
commit | 2bf818a267cd8d40404a5044116025f43485d542 (patch) | |
tree | 37c47ee64003aecc1a7144c75fd91d184ba9b792 /source/blender/src/retopo.c | |
parent | 5c0961dade0f2c62ee27c736ca49e4f910ff3518 (diff) |
Retopo paint fix: cleaned up the hotkeys, added Lkey for selecting the line tool, Hkey for toggling the pen hotspot.
Diffstat (limited to 'source/blender/src/retopo.c')
-rw-r--r-- | source/blender/src/retopo.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/source/blender/src/retopo.c b/source/blender/src/retopo.c index 72b03f42c5c..3e3a3cfe546 100644 --- a/source/blender/src/retopo.c +++ b/source/blender/src/retopo.c @@ -543,7 +543,7 @@ char retopo_paint(const unsigned short event) BIF_undo_push("Retopo toggle"); allqueue(REDRAWVIEW3D, 1); - allqueue(REDRAWBUTSEDIT,0); + allqueue(REDRAWBUTSEDIT, 0); break; case CKEY: retopo_paint_toggle_cyclic(rpd->lines.last); @@ -551,11 +551,19 @@ char retopo_paint(const unsigned short event) break; case EKEY: G.scene->toolsettings->retopo_mode= RETOPO_ELLIPSE; - allqueue(REDRAWBUTSEDIT, 0); + allqueue(REDRAWVIEW3D, 1); + break; + case HKEY: + G.scene->toolsettings->retopo_hotspot= !G.scene->toolsettings->retopo_hotspot; + allqueue(REDRAWVIEW3D, 1); + break; + case LKEY: + G.scene->toolsettings->retopo_mode= RETOPO_LINE; + allqueue(REDRAWVIEW3D, 1); break; case PKEY: G.scene->toolsettings->retopo_mode= RETOPO_PEN; - allqueue(REDRAWBUTSEDIT, 0); + allqueue(REDRAWVIEW3D, 1); break; case XKEY: case DELKEY: |