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-11-26 20:00:52 +0300
committerJacques Lucke <jacques@blender.org>2021-11-26 20:01:59 +0300
commit97465046c6bb43647a34d9fbbf33b784c0c2604d (patch)
treed1c597d5d63f86e1b0c030c04cc7b9057112a6d4 /source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc
parent92daff6ac2adb5bb8c42933063e42fa77823c61f (diff)
Geometry Nodes: add utility to set remaining outputs
Differential Revision: https://developer.blender.org/D13384
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc b/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc
index c109596c1c6..ce2e0923a30 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc
@@ -303,7 +303,7 @@ static void node_geo_exec(GeoNodeExecParams params)
if (rings_num < 3) {
params.error_message_add(NodeWarningType::Info, TIP_("Rings must be at least 3"));
}
- params.set_output("Mesh", GeometrySet());
+ params.set_default_remaining_outputs();
return;
}