Commit: 2400bc21ca9d792088e9f992e7b8e3c74db78b2c
Author: Antonio Vazquez
Date:   Wed Feb 19 22:55:04 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rB2400bc21ca9d792088e9f992e7b8e3c74db78b2c

GPencil: Fix default value for Palette sorting

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

M       source/blender/editors/sculpt_paint/paint_ops.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_ops.c 
b/source/blender/editors/sculpt_paint/paint_ops.c
index bd82f05c34b..34dfe50ca98 100644
--- a/source/blender/editors/sculpt_paint/paint_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_ops.c
@@ -482,7 +482,7 @@ static void PALETTE_OT_sort(wmOperatorType *ot)
   /* flags */
   ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
 
-  ot->prop = RNA_def_enum(ot->srna, "type", sort_type, -1, "Type", "");
+  ot->prop = RNA_def_enum(ot->srna, "type", sort_type, 1, "Type", "");
 }
 
 /* Move colors in palette. */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to