[Bf-blender-cvs] [60a2d39782a] functions: remove temporary code
Jacques Lucke
noreply at git.blender.org
Fri Jul 12 14:50:46 CEST 2019
Commit: 60a2d39782acd13f8215153ab69798651ae0ac87
Author: Jacques Lucke
Date: Fri Jul 12 14:08:34 2019 +0200
Branches: functions
https://developer.blender.org/rB60a2d39782acd13f8215153ab69798651ae0ac87
remove temporary code
===================================================================
M source/blender/simulations/bparticles/inserters.cpp
===================================================================
diff --git a/source/blender/simulations/bparticles/inserters.cpp b/source/blender/simulations/bparticles/inserters.cpp
index f3cb49cca9a..bf2d68d862c 100644
--- a/source/blender/simulations/bparticles/inserters.cpp
+++ b/source/blender/simulations/bparticles/inserters.cpp
@@ -16,7 +16,6 @@
namespace BParticles {
-using FN::DepsBody;
using FN::SharedFunction;
static bool is_particle_data_input(bNode *bnode)
@@ -237,17 +236,6 @@ static std::unique_ptr<Emitter> BUILD_EMITTER_mesh_surface(BuildContext &ctx,
{
SharedFunction fn = create_function_for_data_inputs(bnode, ctx.indexed_tree, ctx.data_graph);
- // DependenciesBody *body = fn->body<DependenciesBody>();
- // BLI_assert(body);
- // FN::FunctionDepsBuilder deps_builder({});
- // body->dependencies(deps_builder);
- // ArrayRef<Object *> objects = deps_builder.get_output_objects(0);
- // objects.print_as_lines("Possible Objects",
- // [](const Object *object) { std::cout << object->id.name; });
- // deps_builder.get_transform_dependencies().print_as_lines(
- // "Transformation Dependencies", [](const Object *object) { std::cout << object->id.name;
- // });
-
auto action = build_action(ctx, {bSocketList(bnode->outputs).get(0), bnode});
return EMITTER_mesh_surface(particle_type_name, fn, ctx.world_state, std::move(action));
}
More information about the Bf-blender-cvs
mailing list