[Bf-blender-cvs] [4726803e85a] geometry-nodes-simulation: Fixed typo in Simulation Input node
Erik Abrahamsson
noreply at git.blender.org
Wed Nov 30 23:36:49 CET 2022
Commit: 4726803e85aefbf4fe3c4341a2561e60ed4d76a5
Author: Erik Abrahamsson
Date: Wed Nov 30 23:35:48 2022 +0100
Branches: geometry-nodes-simulation
https://developer.blender.org/rB4726803e85aefbf4fe3c4341a2561e60ed4d76a5
Fixed typo in Simulation Input node
"Delta Time" was set instead of "Elapsed Time" output.
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_simulation_input.cc
===================================================================
diff --git a/source/blender/nodes/geometry/nodes/node_geo_simulation_input.cc b/source/blender/nodes/geometry/nodes/node_geo_simulation_input.cc
index 2d6a13de980..2cd240570a7 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_simulation_input.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_simulation_input.cc
@@ -54,7 +54,7 @@ static void node_geo_exec(GeoNodeExecParams params)
params.set_output("Delta Time", scene_ctime - data->time);
}
if (params.lazy_output_is_required("Elapsed Time")) {
- params.set_output("Delta Time", scene_ctime - cache->geometry_per_frame.first().time);
+ params.set_output("Elapsed Time", scene_ctime - cache->geometry_per_frame.first().time);
}
return;
}
More information about the Bf-blender-cvs
mailing list