diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-09-18 15:49:57 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-09-18 15:49:57 +0400 |
commit | 423b05390434c310c0f0e59ef62fce79287c581b (patch) | |
tree | 4b271f0a4e418149f222bb3392037068560795ca /source/blender/src/usiblender.c | |
parent | 8d1163c639253e76fec3f69fead716a51068ea37 (diff) |
Grease Pencil - Stroke Sensitivity:
Sensitivity to mouse movement when drawing can now be customised in the User Prefs, under 'Edit Methods'.
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r-- | source/blender/src/usiblender.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index aa49065320b..88cdc558f2b 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -480,9 +480,11 @@ static void init_userdef_file(void) if ((G.main->versionfile < 245) || (G.main->versionfile == 245 && G.main->subversionfile < 16)) { U.flag |= USER_ADD_VIEWALIGNED|USER_ADD_EDITMODE; } - if ((G.main->versionfile < 247) || (G.main->versionfile == 247 && G.main->subversionfile < 1)) { + if ((G.main->versionfile < 247) || (G.main->versionfile == 247 && G.main->subversionfile <= 2)) { bTheme *btheme; - for(btheme= U.themes.first; btheme; btheme= btheme->next) { + + /* adjust themes */ + for (btheme= U.themes.first; btheme; btheme= btheme->next) { char *col; /* IPO Editor: Handles/Vertices */ @@ -499,6 +501,10 @@ static void init_userdef_file(void) col = btheme->tv3d.vertex_select; SETCOL(btheme->tseq.vertex_select, col[0], col[1], col[2], 255); } + + /* define grease-pencil distances */ + U.gp_manhattendist= 3; + U.gp_euclideandist= 20; } /* GL Texture Garbage Collection (variable abused above!) */ |