[Bf-blender-cvs] [30ed51d60a8] master: Cleanup: unused debug variable
Jacques Lucke
noreply at git.blender.org
Sun Jul 12 12:54:27 CEST 2020
Commit: 30ed51d60a83d89b91ea104e737895d188db8903
Author: Jacques Lucke
Date: Sun Jul 12 12:50:19 2020 +0200
Branches: master
https://developer.blender.org/rB30ed51d60a83d89b91ea104e737895d188db8903
Cleanup: unused debug variable
===================================================================
M source/blender/blenkernel/intern/simulation.cc
===================================================================
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);
More information about the Bf-blender-cvs
mailing list