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:
-rw-r--r--source/blender/editors/gpencil/annotate_paint.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/annotate_paint.c b/source/blender/editors/gpencil/annotate_paint.c
index 89a0281882f..6a635720d09 100644
--- a/source/blender/editors/gpencil/annotate_paint.c
+++ b/source/blender/editors/gpencil/annotate_paint.c
@@ -759,8 +759,9 @@ static void gp_stroke_newfrombuffer(tGPsdata *p)
}
/* Simplify stroke */
- if ((U.gp_settings & GP_PAINT_DOSIMPLIFY) || (p->paintmode != GP_PAINTMODE_DRAW_STRAIGHT)) {
- BKE_gpencil_simplify_stroke(gps, 0.15f);
+ if ((p->sa->spacetype == SPACE_VIEW3D) && (U.gp_settings & GP_PAINT_DOSIMPLIFY) &&
+ (p->paintmode != GP_PAINTMODE_DRAW_STRAIGHT)) {
+ BKE_gpencil_simplify_stroke(gps, 0.05f);
}
/* add stroke to frame */