Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-01-16 22:39:30 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-16 22:39:30 +0300
commit2bf818a267cd8d40404a5044116025f43485d542 (patch)
tree37c47ee64003aecc1a7144c75fd91d184ba9b792 /source/blender/src/retopo.c
parent5c0961dade0f2c62ee27c736ca49e4f910ff3518 (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.c14
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: