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-05-15 16:53:13 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-05-15 16:53:58 +0300
commit6e8685e1fdb4615ac6ac1ee683603bfe72343a08 (patch)
tree90cb2987cfea9f1f8b0aef71f2acd467da3f0ace
parent65997a058f9cb4903cd71dd3207b972eaa4bdb59 (diff)
GPencil: Add parameter removed by error in previous commit
This fix the compiler warning too.
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index 1dd7f6fec30..d9a807d17ab 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -632,6 +632,8 @@ void GPENCIL_OT_layer_duplicate_object(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->prop = RNA_def_enum(ot->srna, "mode", copy_mode, GP_LAYER_COPY_OBJECT_ALL_FRAME, "Mode", "");
+
prop = RNA_def_boolean(ot->srna,
"only_active",
true,