[Bf-blender-cvs] [b63f7779502] master: Add missing GPencil `IDTYPE_FLAGS_APPEND_IS_REUSABLE` flag.

Bastien Montagne noreply at git.blender.org
Thu Sep 23 11:32:38 CEST 2021


Commit: b63f777950239518f6bbeeaec3d01d6cb03068f1
Author: Bastien Montagne
Date:   Thu Sep 23 11:28:39 2021 +0200
Branches: master
https://developer.blender.org/rBb63f777950239518f6bbeeaec3d01d6cb03068f1

Add missing GPencil `IDTYPE_FLAGS_APPEND_IS_REUSABLE` flag.

Forgot that one in rB794c2828af60.

Noted by Antonio Vazquez (@antoniov), thanks.

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

M	source/blender/blenkernel/intern/gpencil.c

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

diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index 82a44afbbb1..ed84694a919 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -319,7 +319,7 @@ IDTypeInfo IDType_ID_GD = {
     .name = "GPencil",
     .name_plural = "grease_pencils",
     .translation_context = BLT_I18NCONTEXT_ID_GPENCIL,
-    .flags = 0,
+    .flags = IDTYPE_FLAGS_APPEND_IS_REUSABLE,
 
     .init_data = NULL,
     .copy_data = greasepencil_copy_data,



More information about the Bf-blender-cvs mailing list