GPencil: Add parameter removed by error in previous commit

This fix the compiler warning too.
This commit is contained in:
Antonio Vazquez 2021-05-15 15:53:13 +02:00
parent 65997a058f
commit 6e8685e1fd
1 changed files with 2 additions and 0 deletions

View File

@ -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,