Skip to content

UI: Move Material Properties to Post-Processing Section #2

@Rakadeja

Description

@Rakadeja
Image Image

Summary

Currently, the Base Material and Bevel Material properties are located at the top of the "Live Tweaking" section. However, their functionality is directly tied to the "Post-Processing" options, specifically the Multi-Material toggle. This can be confusing for users.

To improve clarity and user experience, these properties should be moved into the "Post-Processing Options" sub-panel.

Current Behavior

The material slots are grouped with general geometry settings.

Expected Behavior

The material slots are located alongside the Multi-Material checkbox, making their relationship clear.

Suspected Code Regions

This is a UI-only change. The implementation is located entirely within the draw() method of the BF2M_PT_Panel class in ui.py.

# ui.py -> class BF2M_PT_Panel -> draw()

# ...
box = layout.box()
box.label(text="2. Live Tweaking", icon='SETTINGS')

# Literally the easiest 'fix' ever.
box.prop(props, "material_base")
box.prop(props, "material_bevel")
# ------------------------------------

box.label(text="Text Geometry")
# ...
# ... into this section ...
box.label(text="Post-Processing Options")
post_proc_box = box.box()

col = post_proc_box.column()
# (The toggles are here)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions