GPencil: Change HSV modifier to use the same range of parameter that other areas of Blender

The value of the Hue must be between 0 and 1, but the value was between 0 and 2.
This commit is contained in:
Antonioya
2019-06-26 20:58:18 +02:00
parent 69b3c26e75
commit 96af590d58
3 changed files with 10 additions and 7 deletions

View File

@@ -1919,9 +1919,9 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
col = split.column()
col.label(text="Color:")
col.prop(md, "hue", text="H")
col.prop(md, "saturation", text="S")
col.prop(md, "value", text="V")
col.prop(md, "hue", text="H", slider=True)
col.prop(md, "saturation", text="S", slider=True)
col.prop(md, "value", text="V", slider=True)
row = layout.row()
row.prop(md, "create_materials")