Boolean modifier UI improvement
This patch improves UI of a recently added solver preference in boolean modifier: {F331776} Issue with the current UI is that it shows user unnecessary information and breaks established grid layout. Reviewers: carter2422 Reviewed By: carter2422 Subscribers: carter2422 Tags: #user_interface, #bf_blender Differential Revision: https://developer.blender.org/D2136
This commit is contained in:
@@ -151,14 +151,15 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
|
||||
col = split.column()
|
||||
col.label(text="Operation:")
|
||||
col.prop(md, "operation", text="")
|
||||
row = layout.row()
|
||||
row.label("Solver:")
|
||||
row.prop(md, "solver", expand=True)
|
||||
|
||||
col = split.column()
|
||||
col.label(text="Object:")
|
||||
col.prop(md, "object", text="")
|
||||
|
||||
split = layout.split()
|
||||
split.column().label(text="Solver:")
|
||||
split.column().prop(md, "solver", text="")
|
||||
|
||||
if md.solver == 'BMESH':
|
||||
layout.prop(md, "double_threshold")
|
||||
|
||||
|
Reference in New Issue
Block a user