aboutsummaryrefslogtreecommitdiff
path: root/visualization/renderer/main.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-01 17:25:08 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-01 17:25:08 +0800
commitafeb558e50ad8d80f044439d39193d1cbc566580 (patch)
treeb5a692ee2994ced73a3d5832857db1a5e4597b88 /visualization/renderer/main.cpp
parent893bec26cd1bc83fd85bb7dfdfd6225d9f6ee5b5 (diff)
downloadQMidiPlayer-afeb558e50ad8d80f044439d39193d1cbc566580.tar.xz
Fixed visualization viewport randomly reverting to default.
Fixed unexpected pitch wheel activity in rendered video. Remove type checking in the option syntax.
Diffstat (limited to 'visualization/renderer/main.cpp')
-rw-r--r--visualization/renderer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/visualization/renderer/main.cpp b/visualization/renderer/main.cpp
index cca8a12..c15d846 100644
--- a/visualization/renderer/main.cpp
+++ b/visualization/renderer/main.cpp
@@ -25,9 +25,9 @@ int main(int argc,char **argv)
qmpVisRenderCore core(&clp);
if(clp.positionalArguments().empty())
clp.showHelp(1);
+ core.loadSettings();
if(!core.loadVisualizationLibrary())
return 1;
- core.loadSettings();
if(clp.positionalArguments().size())
core.setMIDIFile(clp.positionalArguments().front().toStdString().c_str());
core.startRender();