Blender Git Loki

Git Commits -> Revision 4cc8123

Revision 4cc8123 by Julian Eisel (master)
May 1, 2020, 13:21 (GMT)
UI: Use property split layout and decorators for material properties

Use the automatic property split layout (hence, change to the new 40/60% split
ratio) and add decorator buttons for animatable properties.
This actually applies to all node input buttons in the properties, e.g. world shading,
light shading, texture nodes.

Doing this makes the layout more consistent with other layouts in the
properties. But the decorators are also a useful hint for users that these
options can be animated. Previously using decorators and the automatic split
layout wasn't possible, I've done a number of changes now to have it supported.
Before I moved the socket icons to the left side, the decorators also looked
weird (two circle icons next to each other).

{F8497704} With nested items: {F8497708}

Reviewed By: William Reynish, Pablo Vazquez

Differential Revision: https://developer.blender.org/D7544

Commit Details:

Full Hash: 4cc8123377b1502e028a8f9e6132b78e46e0520f
Parent Commit: 2188175
Lines Changed: +507, -476

6 Modified Paths:

/intern/cycles/blender/addon/ui.py (+12, -0) (Diff)
/release/scripts/startup/bl_ui/properties_material.py (+4, -1) (Diff)
/release/scripts/startup/bl_ui/properties_texture.py (+2, -0) (Diff)
/release/scripts/startup/bl_ui/properties_world.py (+4, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+435, -427) (Diff)
/source/blender/editors/space_node/node_templates.c (+50, -48) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021