Blender Git Loki

Git Commits -> Revision 8ed74c9

October 29, 2020, 19:11 (GMT)
Geometry Nodes: Use UI settings for properties in modifier

The system for exposing property settings like min, max, default, subtype,
etc. for ID properties is quite convoluted currently, so I won't give a
full description here, but this commit creates the tree of ID properties
needed to store that information. This means that property subtypes like
"angle" or "XYZ" will affect the display in the modifier.

Limitations:
- The _RNA_UI property is displayed in the modifier. This may require a
modification to uiDefAutoButsRNA to fix.
- IDProperties must have unique names, but node sockets don't have
that limitation. This can be solved by adding a "UI name" field to
IDProperties.

Commit Details:

Full Hash: 8ed74c9dafb9434669fadcd631d1183cce5c0d04
Parent Commit: d7cb25e
Lines Changed: +186, -47

2 Modified Paths:

/source/blender/makesrna/intern/rna_access.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+184, -45) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021