diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-11-01 16:30:55 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-11-01 16:30:55 +0300 |
commit | 1121e1f1a6215ecea76352295d39649662885433 (patch) | |
tree | eb6d1ea1e4d69997299148df54305d8811f9c71f | |
parent | c1f8268734af40a73661642b1bb3f8d27325dd96 (diff) |
Fix T71251: Move Strokes to Layer slider gets wonky
This parameter must be hidden.
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index c4f18c60f4d..3ab11f8f3f7 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -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 *************************** */ |