diff options
author | Jacques Lucke <jacques@blender.org> | 2020-10-21 14:47:50 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-10-21 14:47:50 +0300 |
commit | 8738a668d8209b41e7554b3711213b43800b3bd4 (patch) | |
tree | 2a49295639b7f6cb473039d95f980c23b6bdc993 /source/blender/editors/space_node/space_node.c | |
parent | 819b1a7f9da05cc49c8cbe56a98886ed58bbc31c (diff) |
Preferences: separate feature flags for geometry nodes and point cloud type
Those two features are not directly related and one might be activated
in master earlier than the other.
WITH_PARTICLE_NODES was removed, because we continue the project
under the name "Geometry Nodes".
Diffstat (limited to 'source/blender/editors/space_node/space_node.c')
-rw-r--r-- | source/blender/editors/space_node/space_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c index 299d3d938d6..d2502e6408c 100644 --- a/source/blender/editors/space_node/space_node.c +++ b/source/blender/editors/space_node/space_node.c @@ -935,7 +935,7 @@ static void node_space_subtype_item_extend(bContext *C, EnumPropertyItem **item, bool free; const EnumPropertyItem *item_src = RNA_enum_node_tree_types_itemf_impl(C, &free); for (const EnumPropertyItem *item_iter = item_src; item_iter->identifier; item_iter++) { - if (!U.experimental.use_new_particle_system && + if (!U.experimental.use_new_geometry_nodes && STREQ(item_iter->identifier, "SimulationNodeTree")) { continue; } |