[Bf-blender-cvs] [eff62ea8aba] master: Geometry Nodes: remove warning in Points node
Jacques Lucke
noreply at git.blender.org
Fri Jul 1 10:04:43 CEST 2022
Commit: eff62ea8abaccbaa8dab9c00e3780aaa873148d2
Author: Jacques Lucke
Date: Fri Jul 1 10:04:35 2022 +0200
Branches: master
https://developer.blender.org/rBeff62ea8abaccbaa8dab9c00e3780aaa873148d2
Geometry Nodes: remove warning in Points node
Generating no points in some frames is a perfectly valid use case.
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_points.cc
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list