Fix #114082: Disabling Geometry Nodes is_tool also disables is_modifier
fd9d22ba57introduced `GeometryNodeAssetTraitFlag` (at that time `GEO_NODE_ASSET_POINT_CLOUD` was the max enum value), then6da4b87661added `GEO_NODE_ASSET_MODIFIER` (but the max enum value was not changed accordingly). Pull Request: https://projects.blender.org/blender/blender/pulls/114092
This commit is contained in:
committed by
Philipp Oeser
parent
10eb1ac8e4
commit
dcdafaa9f5
@@ -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`. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user