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
path: root/source
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-07-01 11:04:35 +0300
committerJacques Lucke <jacques@blender.org>2022-07-01 11:04:35 +0300
commiteff62ea8abaccbaa8dab9c00e3780aaa873148d2 (patch)
treeb9c93e8b843c0f924d9e8d4e2199bbc7a1029bc2 /source
parent5d57d9f899617fb04dd4f722599aa4b626ec70fe (diff)
Geometry Nodes: remove warning in Points node
Generating no points in some frames is a perfectly valid use case.
Diffstat (limited to 'source')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_points.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_points.cc b/source/blender/nodes/geometry/nodes/node_geo_points.cc
index ced41c6c85c..da414960e1d 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_points.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_points.cc
@@ -62,7 +62,6 @@ static void node_geo_exec(GeoNodeExecParams params)
{
const int count = params.extract_input<int>("Count");
if (count <= 0) {
- params.error_message_add(NodeWarningType::Warning, TIP_("Point count should be at least 1"));
params.set_default_remaining_outputs();
return;
}