Commit 1e3bb5ad authored by artificiel's avatar artificiel
Browse files

ClientsManager: honore le enabled des clients avnat de merger dans meta cloud

parent ee295443
......@@ -111,6 +111,8 @@ bool ClientsManager::receive_mesh(ofMesh &mesh)
mesh.setMode(OF_PRIMITIVE_POINTS);
for (const auto &client : client_connectors_) {
if (client.second->enabled_) {
for (const auto &v : client.second->get_mesh().getVertices()) {
mesh.addVertex(v);
if (ofRandom(1.0) < sticky_mesh_input_prob_) {
......@@ -118,6 +120,7 @@ bool ClientsManager::receive_mesh(ofMesh &mesh)
tmp_mesh.addColor(sticky_mesh_color_);
}
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment