diff options
author | Hans Goudey <h.goudey@me.com> | 2020-07-02 17:47:02 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-07-02 17:47:02 +0300 |
commit | 06de1bddae65dca06ec44b996372ce6a6e8d70e8 (patch) | |
tree | b2d7eaf45251c6f5b07a6fc3e2e78e757acec273 /source/blender/modifiers/intern/MOD_particleinstance.c | |
parent | fb0f0f4d79a7cc89f31787615d25a98ca263bef5 (diff) |
UI: Small Tweaks to Modifier Layouts for Consistency
These changes are smaller, made based on feedback and a pass on all
the layouts for clarity and consistency. The Multires modifier UI will
be addressed in a separate patch. Here is an overview of the changes:
Renaming Options:
- Build: "Start" -> "Start Frame"
- Curve: "From Radius" -> "Size from Radius"
- Screw: "Calc Order" -> "Calculate Order"
- Displace, Warp, Wave: "Texture Coordinates Object" -> "Object"
Move Mode Toggle to Top & Expand:
- Bevel, Boolean, Normal Edit, Subdivision
Use Columns for Tighter Spacing:
- Displace, Explode, Ocean, Particle Instance, Remesh, Shrinkwrap,
Solidify, Warp, Weighted Normal, Wave
Misc:
- Bevel: Set inactive properties for vertex bevel
- Mesh Sequence Cache: Remove box for cache file
- Skin: Don't align "Mark Loose" and "Clear Loose"
- Array: Expand relative offset subpanel by default
- Array: Move start cap, end cap to a new subpanel
- Bevel: Move width type above width
Differential Revision: https://developer.blender.org/D8115
Diffstat (limited to 'source/blender/modifiers/intern/MOD_particleinstance.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particleinstance.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/source/blender/modifiers/intern/MOD_particleinstance.c b/source/blender/modifiers/intern/MOD_particleinstance.c index 3a9a60cf2e9..dd881f1ac74 100644 --- a/source/blender/modifiers/intern/MOD_particleinstance.c +++ b/source/blender/modifiers/intern/MOD_particleinstance.c @@ -645,6 +645,7 @@ static void path_panel_draw(const bContext *C, Panel *panel) static void layers_panel_draw(const bContext *C, Panel *panel) { + uiLayout *col; uiLayout *layout = panel->layout; PointerRNA ptr; @@ -655,20 +656,11 @@ static void layers_panel_draw(const bContext *C, Panel *panel) uiLayoutSetPropSep(layout, true); - uiItemPointerR(layout, - &ptr, - "index_layer_name", - &obj_data_ptr, - "vertex_colors", - IFACE_("Index"), - ICON_NONE); - uiItemPointerR(layout, - &ptr, - "value_layer_name", - &obj_data_ptr, - "vertex_colors", - IFACE_("Value"), - ICON_NONE); + col = uiLayoutColumn(layout, false); + uiItemPointerR( + col, &ptr, "index_layer_name", &obj_data_ptr, "vertex_colors", IFACE_("Index"), ICON_NONE); + uiItemPointerR( + col, &ptr, "value_layer_name", &obj_data_ptr, "vertex_colors", IFACE_("Value"), ICON_NONE); } static void panelRegister(ARegionType *region_type) |