From e84e9938345bb124eb2d47a73fb324e95ac652be Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 4 Aug 2024 09:21:22 +0200 Subject: WIP --- src/dgxmlparser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dgxmlparser.cc') diff --git a/src/dgxmlparser.cc b/src/dgxmlparser.cc index bd9af66..837cc4e 100644 --- a/src/dgxmlparser.cc +++ b/src/dgxmlparser.cc @@ -365,8 +365,8 @@ bool parseInstrumentFile(const std::string& filename, InstrumentDOM& dom, LogFun res &= attrcpy(dom.samples.back().position, sample, "position", logger, filename, true); // Clamp to [0; 1] range. - dom.samples.back().position = - std::min(1.0, std::max(dom.samples.back().position, 0.0)); + //dom.samples.back().position = + // std::min(1.0, std::max(dom.samples.back().position, 0.0)); dom.samples.back().normalized = false; // optional - defaults to false res &= attrcpy(dom.samples.back().normalized, sample, "normalized", -- cgit v1.2.3