Fix T71251: Move Strokes to Layer slider gets wonky

This parameter must be hidden.
This commit is contained in:
Antonio Vazquez 2019-11-01 14:30:55 +01:00
parent c1f8268734
commit 1121e1f1a6
Notes: blender-bot 2023-02-14 03:59:42 +01:00
Referenced by issue #71251, Move Strokes to Layer slider in Blender 2.81 Beta
1 changed files with 1 additions and 0 deletions

View File

@ -1538,6 +1538,7 @@ void GPENCIL_OT_move_to_layer(wmOperatorType *ot)
/* GPencil layer to use. */
ot->prop = RNA_def_int(ot->srna, "layer", 0, 0, INT_MAX, "Grease Pencil Layer", "", 0, INT_MAX);
RNA_def_property_flag(ot->prop, PROP_HIDDEN | PROP_SKIP_SAVE);
}
/* ********************* Add Blank Frame *************************** */