diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-04-12 14:50:24 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-04-12 14:50:24 +0200 |
commit | 20c5726e9442ebaf3711043cc0f317a600fb9c75 (patch) | |
tree | 43bf21f5ebb987bb2c0af957a959458bf99c42d1 /src/domloader.cc | |
parent | e61e6df43ab0b9014f524abf76ea033086b7dcdf (diff) |
Make sure that drumkit::clear clear all metadata.
Diffstat (limited to 'src/domloader.cc')
-rw-r--r-- | src/domloader.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/domloader.cc b/src/domloader.cc index 97c1d6b..c78ed75 100644 --- a/src/domloader.cc +++ b/src/domloader.cc @@ -56,10 +56,10 @@ bool DOMLoader::loadDom(const std::string& basepath, { settings.has_bleed_control.store(false); - drumkit._name = dom.metadata.title; - drumkit._version = dom.version; - drumkit._description = dom.metadata.description; - drumkit._samplerate = dom.samplerate; + drumkit.metadata._name = dom.metadata.title; + drumkit.metadata._version = dom.version; + drumkit.metadata._description = dom.metadata.description; + drumkit.metadata._samplerate = dom.samplerate; for(const auto& channel: dom.channels) { |