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>2016-03-27 17:20:15 +0300
committerJoshua Leung <aligorith@gmail.com>2016-03-27 17:21:31 +0300
commit2bb956f6c90cf9f1055e46b1334e50d76f5f91dd (patch)
treec4be26965a7e164026a9417c6548b21d2cef9168 /source/blender/editors/gpencil
parentfd8f51da0854eb280689adc690b61051f7bdac51 (diff)
GPencil: Smooth and Subdivision variable/setting naming
On second thought, these might be better names for these... I'm still not 100% happy with these, but they will do for now. (Best results currently seem to be with smooth 0.7, and subdivision steps 1 or 2)
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 8bbc10b4676..ea80e9a7803 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -750,9 +750,9 @@ static void gp_stroke_newfrombuffer(tGPsdata *p)
}
/* smooth stroke - only if there's something to do */
- if (gpl->smooth_drawfac > 0.0f) {
+ if (gpl->draw_smoothfac > 0.0f) {
for (i = 0; i < gps->totpoints; i++) {
- gp_smooth_stroke(gps, i, gpl->smooth_drawfac, true);
+ gp_smooth_stroke(gps, i, gpl->draw_smoothfac, true);
}
}