diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-12 13:50:19 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-12 13:50:19 +0300 |
commit | 30ed51d60a83d89b91ea104e737895d188db8903 (patch) | |
tree | b8e98e102d3346ea5cf6fbc63b7d65e97128de62 /source/blender/blenkernel | |
parent | 21b20ae5ec1512b52f6c231863a278ccacb4835c (diff) |
Cleanup: unused debug variable
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/simulation.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/simulation.cc b/source/blender/blenkernel/intern/simulation.cc index 7792a6c91c6..376f6fbacde 100644 --- a/source/blender/blenkernel/intern/simulation.cc +++ b/source/blender/blenkernel/intern/simulation.cc @@ -510,6 +510,7 @@ class ParticleFunctionEvaluator { BLI_assert(expected_name == real_name); BLI_assert(is_computed_); #endif + UNUSED_VARS_NDEBUG(expected_name); const void *buffer = outputs_[output_index]; const fn::CPPType &type = particle_fn_.output_types_[output_index].single_type(); if (particle_fn_.output_is_global_[output_index]) { @@ -731,12 +732,12 @@ static void simulation_data_update(Depsgraph *depsgraph, Scene *scene, Simulatio fn::MFNetwork network; ResourceCollector resources; MFNetworkTreeMap network_map = insert_node_tree_into_mf_network(network, tree, resources); + WM_clipboard_text_set(tree.to_dot().c_str(), false); Map<const fn::MFOutputSocket *, std::string> attribute_inputs = deduplicate_attribute_nodes( network, network_map, tree); fn::mf_network_optimization::constant_folding(network, resources); fn::mf_network_optimization::common_subnetwork_elimination(network); fn::mf_network_optimization::dead_node_removal(network); - WM_clipboard_text_set(network.to_dot().c_str(), false); Map<std::string, Vector<const ParticleForce *>> forces_by_simulation = collect_forces( network_map, resources, attribute_inputs); |