[Bf-blender-cvs] [64a655ec4c1] greasepencil-object: GPencil: Increase default buffer size

Antonio Vazquez noreply at git.blender.org
Wed Jun 24 16:01:37 CEST 2020


Commit: 64a655ec4c1dada3ab7596d2511f7f9f7331ee01
Author: Antonio Vazquez
Date:   Wed Jun 24 16:00:09 2020 +0200
Branches: greasepencil-object
https://developer.blender.org/rB64a655ec4c1dada3ab7596d2511f7f9f7331ee01

GPencil: Increase default buffer size

Using spread the number of points is huge and for each expand of points there is a small flash on the screen, so keep a big buffer reduce the effect.

===================================================================

M	source/blender/editors/gpencil/gpencil_intern.h

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h
index 6dd918efce0..595f2e66c4e 100644
--- a/source/blender/editors/gpencil/gpencil_intern.h
+++ b/source/blender/editors/gpencil/gpencil_intern.h
@@ -399,7 +399,7 @@ typedef enum eGPencil_PaintModes {
 } eGPencil_PaintModes;
 
 /* chunk size for gp-session buffer (the total size is a multiple of this number) */
-#define GP_STROKE_BUFFER_CHUNK 2048
+#define GP_STROKE_BUFFER_CHUNK 8192
 
 /* stroke editing ----- */



More information about the Bf-blender-cvs mailing list