GPencil: Change Build modifier UI layout for Influence Filters
The layer filter was not following the standard layout
This commit is contained in:
@@ -2041,13 +2041,22 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
|
|||||||
sub.prop(md, "frame_start", text="Start")
|
sub.prop(md, "frame_start", text="Start")
|
||||||
sub.prop(md, "frame_end", text="End")
|
sub.prop(md, "frame_end", text="End")
|
||||||
|
|
||||||
col = layout.column()
|
layout.label(text="Influence Filters:")
|
||||||
col.separator()
|
|
||||||
col.label(text="Layer:")
|
split = layout.split(factor=0.25)
|
||||||
row = col.row(align=True)
|
|
||||||
|
col1 = split.column()
|
||||||
|
|
||||||
|
col1.label(text="Layer:")
|
||||||
|
|
||||||
|
col2 = split.column()
|
||||||
|
|
||||||
|
split = col2.split(factor=0.6)
|
||||||
|
row = split.row(align=True)
|
||||||
row.prop_search(md, "layer", gpd, "layers", text="", icon='GREASEPENCIL')
|
row.prop_search(md, "layer", gpd, "layers", text="", icon='GREASEPENCIL')
|
||||||
row.prop(md, "invert_layers", text="", icon='ARROW_LEFTRIGHT')
|
row.prop(md, "invert_layers", text="", icon='ARROW_LEFTRIGHT')
|
||||||
row = layout.row(align=True)
|
|
||||||
|
row = split.row(align=True)
|
||||||
row.prop(md, "layer_pass", text="Pass")
|
row.prop(md, "layer_pass", text="Pass")
|
||||||
row.prop(md, "invert_layer_pass", text="", icon='ARROW_LEFTRIGHT')
|
row.prop(md, "invert_layer_pass", text="", icon='ARROW_LEFTRIGHT')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user