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-27 21:11:07 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-27 21:11:07 +0300
commit5d4b81b688012a50cb1d310091c3ad7973c0a8e8 (patch)
tree660d28ffb1a6f60d12960a7f3b0a9074ceb51d2a /source/blender/makesdna
parent901313be99ee41b42b2d19558a1a0ba2e13b147e (diff)
== Retopo ==
Fixed bug #5829, Exiting editmode with TAB key toggles RETOPO * Moved the retopo_mode setting to ToolSettings. * Renamed the other retopo_mode to the (more accurate) retopo_paint_tool
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 95e359ae421..f37f508f703 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -342,9 +342,10 @@ typedef struct ToolSettings {
/* Retopo */
char retopo_mode;
+ char retopo_paint_tool;
char line_div, ellipse_div, retopo_hotspot;
- int pad4;
+ char pad4[3];
} ToolSettings;
/* Used by all brushes to store their properties, which can be directly set
@@ -619,6 +620,10 @@ typedef struct Scene {
#define IMAGEPAINT_DRAW_TOOL_DRAWING 4
/* toolsettings->retopo_mode */
+#define RETOPO 1
+#define RETOPO_PAINT 2
+
+/* toolsettings->retopo_paint_tool */
#define RETOPO_PEN 1
#define RETOPO_LINE 2
#define RETOPO_ELLIPSE 4