Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-02-23 08:33:04 +0300
committerHans Goudey <h.goudey@me.com>2021-02-23 08:33:04 +0300
commitbfb2e87a9ea0d8490cb5faec4d0d8a7066f0093a (patch)
tree6fcd3db667bd8faa5f0dc86216c2c75e50ddbf31 /source/blender/makesdna/DNA_node_types.h
parent82605093e9bf3b68f6a218d46660ed62ea89816d (diff)
Cleanup: Use shorter enum names
With the full node name at the beginning, these names can get quite long. Slightly different words shorten them just a bit.
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index e72e9632483..8b0bc235861 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -1203,7 +1203,7 @@ typedef struct NodeGeometryCollectionInfo {
} NodeGeometryCollectionInfo;
typedef struct NodeGeometryAttributeProximity {
- /* GeometryNodeAttributeProximityTargetGeometryElement. */
+ /* GeometryNodeAttributeProximityTargetType. */
uint8_t target_geometry_element;
} NodeGeometryAttributeProximity;
@@ -1613,11 +1613,11 @@ typedef enum NodeShaderOutputTarget {
/* Geometry Nodes */
-typedef enum GeometryNodeAttributeProximityTargetGeometryElement {
+typedef enum GeometryNodeAttributeProximityTargetType {
GEO_NODE_ATTRIBUTE_PROXIMITY_TARGET_GEOMETRY_ELEMENT_POINTS = 0,
GEO_NODE_ATTRIBUTE_PROXIMITY_TARGET_GEOMETRY_ELEMENT_EDGES = 1,
GEO_NODE_ATTRIBUTE_PROXIMITY_TARGET_GEOMETRY_ELEMENT_FACES = 2,
-} GeometryNodeAttributeProximityTargetGeometryElement;
+} GeometryNodeAttributeProximityTargetType;
/* Boolean Node */
typedef enum GeometryNodeBooleanOperation {
@@ -1657,10 +1657,10 @@ typedef enum GeometryNodeAttributeInputMode {
GEO_NODE_ATTRIBUTE_INPUT_INTEGER = 5,
} GeometryNodeAttributeInputMode;
-typedef enum GeometryNodePointDistributeMethod {
+typedef enum GeometryNodePointDistributeMode {
GEO_NODE_POINT_DISTRIBUTE_RANDOM = 0,
GEO_NODE_POINT_DISTRIBUTE_POISSON = 1,
-} GeometryNodePointDistributeMethod;
+} GeometryNodePointDistributeMode;
typedef enum GeometryNodeRotatePointsType {
GEO_NODE_POINT_ROTATE_TYPE_EULER = 0,