diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-16 22:06:58 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-16 22:06:58 +0300 |
commit | 1e785638f9f6a8a63c591be412b57b3bc672b0ee (patch) | |
tree | b51e622fffce20febedc924482a3d88977c3eb37 /source/blender/src/retopo.c | |
parent | 797565916d3b7a20c3cef283c3ea86349b0fa05c (diff) |
Usabilility fix for retopo: allow user to disable hotspots on line ends, also only display the controls for each tool (pen, line, and ellipse) when that tool is selected.)
Diffstat (limited to 'source/blender/src/retopo.c')
-rw-r--r-- | source/blender/src/retopo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/retopo.c b/source/blender/src/retopo.c index cb24b7b16b2..11bff82af1d 100644 --- a/source/blender/src/retopo.c +++ b/source/blender/src/retopo.c @@ -403,6 +403,7 @@ void retopo_paint_toggle(void *a, void *b) rpd->nearest.line= NULL; G.scene->toolsettings->line_div= 25; G.scene->toolsettings->ellipse_div= 25; + G.scene->toolsettings->retopo_hotspot= 1; } else retopo_end_okee(); BIF_undo_push("Retopo toggle"); @@ -496,7 +497,7 @@ char retopo_paint(const unsigned short event) rpd->nearest.line= NULL; break; - } else { /* Find nearest endpoint */ + } else if(G.scene->toolsettings->retopo_hotspot) { /* Find nearest endpoint */ float sdist; RetopoPaintLine *l= rpd->lines.first; RetopoPaintSel n= {NULL,NULL,l,1}; |