diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-10-03 15:56:11 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-10-03 15:56:11 +0400 |
commit | 87b40377331ae501ee6d5cf2b57666ee04346e87 (patch) | |
tree | a3318b5aedc575c6e811cb40945ae7e14defb402 /source/blender/makesdna/DNA_userdef_types.h | |
parent | df00a4b87853b276d6073b252ec66ff69d743971 (diff) |
More Grease Pencil touchups:
* Eraser size is now UserPref. This way it is more easily tweaked than using layer stroke-thickness squared, but it is less accessible.
* Restored stroke 'smoothing' (post-conversion) option as UserPref option. Off by default.
* Fixed bug with convert tools. Was adding an extra datablock everytime, that wasn't being used (and was subsequently dicarded).
* Moved pressure vars from paint-loop to temp-struct (during painting). Also, moved the macro which tests for converting straight lines.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index ead1df4ddac..fdf08c73798 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -189,8 +189,8 @@ typedef struct UserDef { struct ListBase themes; short undosteps; short undomemory; - short gp_manhattendist, gp_euclideandist, pad; - short curssize; + short gp_manhattendist, gp_euclideandist, gp_eraser; + short gp_settings; short tb_leftmouse, tb_rightmouse; struct SolidLight light[3]; short tw_hotspot, tw_flag, tw_handlesize, tw_size; @@ -206,7 +206,7 @@ typedef struct UserDef { short smooth_viewtx; /* miliseconds to spend spinning the view */ short glreslimit; short ndof_pan, ndof_rotate; - short pads[2]; + short curssize, pad; // char pad[8]; char versemaster[160]; char verseuser[160]; @@ -326,5 +326,8 @@ extern UserDef U; /* from usiblender.c !!!! */ /* tw_flag (transform widget) */ +/* gp_settings (Grease Pencil Settings) */ +#define GP_PAINT_DOSMOOTH (1<<0) + #endif |