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:
authorJacques Lucke <jacques@blender.org>2021-04-13 14:47:33 +0300
committerJacques Lucke <jacques@blender.org>2021-04-13 14:48:10 +0300
commit93d8c7516ad5c1e7c463b53d988a255a156b65e3 (patch)
tree411e95f0445814f754908ec874e2ff874e80c884 /source/blender/nodes
parent961b6a6f7eb8533135f03da95ffe5b3a42e44c7c (diff)
Geometry Nodes: realize instances in subdivide node
This makes it consistent with the Subdivision Surface node.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_subdivide.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_subdivide.cc b/source/blender/nodes/geometry/nodes/node_geo_subdivide.cc
index 4b7acf2edc0..a4c6522c57a 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_subdivide.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_subdivide.cc
@@ -41,6 +41,7 @@ namespace blender::nodes {
static void geo_node_subdivide_exec(GeoNodeExecParams params)
{
GeometrySet geometry_set = params.extract_input<GeometrySet>("Geometry");
+ geometry_set = geometry_set_realize_instances(geometry_set);
if (!geometry_set.has_mesh()) {
params.set_output("Geometry", geometry_set);