Commit 5ad78ec0 authored by Lennart Huth's avatar Lennart Huth
Browse files

MB only written to updated geometry if not zero

parent 60eff225
......@@ -256,7 +256,8 @@ Configuration Detector::getConfiguration() const {
config.setMatrix("roi", m_roi);
// material budget
config.set("material_budget", m_materialBudget);
if(m_materialBudget > 0.0)
config.set("material_budget", m_materialBudget);
return config;
}
......
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