Attributes: Hide internal UI attributes and disallow procedural access
This commit hides "UI attributes" described in T97452 from the UI lists in mesh, curve, and point cloud properties, and disallow accessing them in geometry nodes. Internal UI attributes like selection and hiding values should use the attribute system for simplicity and performance, but we don't want to expose those attributes in the attribute panel, which is meant for regular user interaction. Procedural access may be misleading or cause problems, as described in the design task above. These attributes are added by two upcoming patches: D14934, D14685 Differential Revision: https://developer.blender.org/D15069
This commit is contained in:
@@ -49,6 +49,7 @@ typedef enum AttributeDomainMask {
|
||||
/* Attributes. */
|
||||
|
||||
bool BKE_id_attributes_supported(struct ID *id);
|
||||
bool BKE_attribute_allow_procedural_access(const char *attribute_name);
|
||||
|
||||
/**
|
||||
* Create a new attribute layer.
|
||||
|
||||
Reference in New Issue
Block a user