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-10-27 16:29:03 +0300
committerJacques Lucke <jacques@blender.org>2021-10-27 16:29:03 +0300
commit7cbb01f07e84c463af77a57930b3d027b09549a5 (patch)
tree846f42a921c0ce5eec94695b6638e8978d9a8fed
parent9217f5c7a332ca2398a45924addc24ccbc3064e6 (diff)
Fix: incorrect warning in Instances to Points node
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc b/source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc
index a120560c848..618d85d9c2f 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc
@@ -23,7 +23,7 @@ namespace blender::nodes {
static void geo_node_instances_to_points_declare(NodeDeclarationBuilder &b)
{
- b.add_input<decl::Geometry>("Instances").supported_type(GEO_COMPONENT_TYPE_INSTANCES);
+ b.add_input<decl::Geometry>("Instances").only_instances();
b.add_input<decl::Bool>("Selection").default_value(true).hide_value().supports_field();
b.add_input<decl::Vector>("Position").implicit_field();
b.add_input<decl::Float>("Radius")