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:
authorJoshua Leung <aligorith@gmail.com>2008-10-03 15:56:11 +0400
committerJoshua Leung <aligorith@gmail.com>2008-10-03 15:56:11 +0400
commit87b40377331ae501ee6d5cf2b57666ee04346e87 (patch)
treea3318b5aedc575c6e811cb40945ae7e14defb402 /source/blender/src/usiblender.c
parentdf00a4b87853b276d6073b252ec66ff69d743971 (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/src/usiblender.c')
-rw-r--r--source/blender/src/usiblender.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c
index 88cdc558f2b..f6e4054379c 100644
--- a/source/blender/src/usiblender.c
+++ b/source/blender/src/usiblender.c
@@ -201,6 +201,9 @@ static void init_userdef_file(void)
if (U.ndof_rotate==0) {
U.ndof_rotate = 100;
}
+ if (U.gp_eraser == 0) {
+ U.gp_eraser= 25;
+ }
if(U.flag & USER_CUSTOM_RANGE)
vDM_ColorBand_store(&U.coba_weight); /* signal for derivedmesh to use colorband */