[Bf-blender-cvs] [57fc9ef7171] modifier-panels-ui: Fix location of gpencil color mode selector

Hans Goudey noreply at git.blender.org
Wed Apr 29 21:35:36 CEST 2020


Commit: 57fc9ef7171c4b5ea4b7c2f97be59701309cc33c
Author: Hans Goudey
Date:   Wed Apr 29 10:15:58 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rB57fc9ef7171c4b5ea4b7c2f97be59701309cc33c

Fix location of gpencil color mode selector

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

M	source/blender/gpencil_modifiers/intern/MOD_gpencilcolor.c

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

diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilcolor.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilcolor.c
index 11087a5b844..74a10d77ea4 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilcolor.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilcolor.c
@@ -199,12 +199,11 @@ static void panel_draw(const bContext *C, Panel *panel)
 
   uiLayoutSetPropSep(layout, true);
 
+  uiItemR(layout, &ptr, "modify_color", 0, NULL, ICON_NONE);
   uiItemR(layout, &ptr, "hue", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
   uiItemR(layout, &ptr, "saturation", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
   uiItemR(layout, &ptr, "value", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
 
-  uiItemR(layout, &ptr, "modify_color", 0, NULL, ICON_NONE);
-
   gpencil_modifier_panel_end(layout, &ptr);
 }



More information about the Bf-blender-cvs mailing list