From dcdafaa9f5f68b0fa5ea6a11b503c76ddec8d43f Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Tue, 24 Oct 2023 10:40:28 +0200 Subject: [PATCH] Fix #114082: Disabling Geometry Nodes is_tool also disables is_modifier fd9d22ba57d7 introduced `GeometryNodeAssetTraitFlag` (at that time `GEO_NODE_ASSET_POINT_CLOUD` was the max enum value), then 6da4b87661f0 added `GEO_NODE_ASSET_MODIFIER` (but the max enum value was not changed accordingly). Pull Request: https://projects.blender.org/blender/blender/pulls/114092 --- source/blender/makesdna/DNA_node_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 6d846a26836..4c224057f0a 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -915,7 +915,7 @@ typedef enum GeometryNodeAssetTraitFlag { GEO_NODE_ASSET_POINT_CLOUD = (1 << 5), GEO_NODE_ASSET_MODIFIER = (1 << 6), } GeometryNodeAssetTraitFlag; -ENUM_OPERATORS(GeometryNodeAssetTraitFlag, GEO_NODE_ASSET_POINT_CLOUD); +ENUM_OPERATORS(GeometryNodeAssetTraitFlag, GEO_NODE_ASSET_MODIFIER); /* Data structs, for `node->storage`. */