[Bf-blender-cvs] [bdd71c129c8] geometry-nodes-simulation: Set "Run" input default to true

Hans Goudey noreply at git.blender.org
Thu Dec 1 23:35:01 CET 2022


Commit: bdd71c129c8bee4e23015d571ab203c7cec7f330
Author: Hans Goudey
Date:   Thu Dec 1 16:34:50 2022 -0600
Branches: geometry-nodes-simulation
https://developer.blender.org/rBbdd71c129c8bee4e23015d571ab203c7cec7f330

Set "Run" input default to true

===================================================================

M	source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc b/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
index e1579061a69..d8d8940fcb9 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
@@ -16,7 +16,7 @@ NODE_STORAGE_FUNCS(NodeGeometrySimulationOutput);
 
 static void node_declare(NodeDeclarationBuilder &b)
 {
-  b.add_input<decl::Bool>(N_("Run"));
+  b.add_input<decl::Bool>(N_("Run")).default_value(true);
   b.add_input<decl::Geometry>(N_("Geometry"));
   b.add_output<decl::Bool>(N_("Started"));
   b.add_output<decl::Bool>(N_("Ended"));



More information about the Bf-blender-cvs mailing list