Retopo paint fix: cleaned up the hotkeys, added Lkey for selecting the line tool...
authorNicholas Bishop <nicholasbishop@gmail.com>
Tue, 16 Jan 2007 19:39:30 +0000 (19:39 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Tue, 16 Jan 2007 19:39:30 +0000 (19:39 +0000)
source/blender/src/retopo.c

index 72b03f42c5c6fba58440613980e9500d205e78ba..3e3a3cfe546987193c6ba570f3f36e66003c3d66 100644 (file)
@@ -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: