This node is similar to the subdivision surface modifier. It subdivides the mesh component of a geometry. The options have the same meaning as in the modifier.
Geometry Nodes: Rename node category based on functionality
Naming based on supported geometry components only works in some cases. For nodes that work with multiple data types, it's better to categorize them based on their functionality.
Geometry Nodes: Add errors for out of sync sockets and properties
Theoretically the modifier's properties could be changed or removed by Python, so it may be useful to have errors printed and added to the modifier in that case.
I kept the check as a separate step from the `compute_geometry` pass because the object is needed to set the modifier error message. But it could easily be moved there in the future.
Geometry Nodes: Allow node group inputs with the same name
If we add the "name" label manually with uiItemR, we can use the socket identifier instead of the name for the IDProperty name. This will also allow us more flexibility in how to draw the settings in the future, and removes the empty _RNA_UI proprety that was drawn before.
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.