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:
authorAntonio Vazquez <blendergit@gmail.com>2021-10-04 17:42:56 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-10-04 17:43:07 +0300
commit4fd7ce321d7352570a5cbb08d66b1c635d234689 (patch)
tree0e6ac8ef51056b224a8593a6aae229d10c66ac14 /source/blender
parent0bc40564558af74aaf9f1eb7c17d622c9b84a50d (diff)
GPencil: Remove unused flag
This flag was used in older versions, but now is not used anymore.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 957d8087bbd..bf49203f915 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -109,7 +109,6 @@ typedef enum eGP_StrokeAdd_Result {
/* Runtime flags */
typedef enum eGPencil_PaintFlags {
GP_PAINTFLAG_FIRSTRUN = (1 << 0), /* operator just started */
- GP_PAINTFLAG_STROKEADDED = (1 << 1),
GP_PAINTFLAG_SELECTMASK = (1 << 3),
GP_PAINTFLAG_HARD_ERASER = (1 << 4),
GP_PAINTFLAG_STROKE_ERASER = (1 << 5),
@@ -285,7 +284,6 @@ static void gpencil_update_cache(bGPdata *gpd)
static void gpencil_stroke_added_enable(tGPsdata *p)
{
BLI_assert(p->gpf->strokes.last != NULL);
- p->flags |= GP_PAINTFLAG_STROKEADDED;
/* drawing batch cache is dirty now */
gpencil_update_cache(p->gpd);