diff options
author | Eitan <EitanSomething> | 2021-02-19 22:20:04 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-19 22:20:04 +0300 |
commit | 4891d4b3d1f38bde32d939153fe8f7d66f249cc7 (patch) | |
tree | 53a1ddfb0ebd7fc49123286637fdbbc00422bd78 /source/blender/blenkernel | |
parent | 720d76a9789f0ba7087b55d994bdcfda4ed5c8d2 (diff) |
Geometry Nodes: Add simple subdivision surface node
Add the Simple subdivision option to Geometry nodes, as a new node
instead of part of the existing subdivision node because of future
backend changes to the Simple option. (See T85584)
https://developer.blender.org/D10409
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 1 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/node.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 7984bbc980a..77d850ec2f6 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1372,6 +1372,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree, #define GEO_NODE_VOLUME_TO_MESH 1026 #define GEO_NODE_ATTRIBUTE_COMBINE_XYZ 1027 #define GEO_NODE_ATTRIBUTE_SEPARATE_XYZ 1028 +#define GEO_NODE_SUBDIVISION_SURFACE_SIMPLE 1029 /** \} */ diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index 248d2776678..228d3e0d825 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -4794,6 +4794,7 @@ static void registerGeometryNodes() register_node_type_geo_points_to_volume(); register_node_type_geo_sample_texture(); register_node_type_geo_subdivision_surface(); + register_node_type_geo_subdivision_surface_simple(); register_node_type_geo_transform(); register_node_type_geo_triangulate(); register_node_type_geo_volume_to_mesh(); |