aboutsummaryrefslogtreecommitdiff
path: root/visualization
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-06-02 21:12:27 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-06-02 21:12:27 +0800
commit37ba9dd1ce449bc2c2f422dd04225bc68bd89c59 (patch)
treeceecc9d6a28fc892a2a922771aefb4881b0e562a /visualization
parent844ddb2e0a6cdddf183ca3ecf08d1cedece27c71 (diff)
downloadQMidiPlayer-37ba9dd1ce449bc2c2f422dd04225bc68bd89c59.tar.xz
Some changes from earlier this year. Read ChangeLog for details.
Diffstat (limited to 'visualization')
-rw-r--r--visualization/qmpvisualization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/visualization/qmpvisualization.cpp b/visualization/qmpvisualization.cpp
index 831c1af..ffc01ad 100644
--- a/visualization/qmpvisualization.cpp
+++ b/visualization/qmpvisualization.cpp
@@ -190,6 +190,7 @@ void qmpVisualization::showThread()
rot[2]=api->getOptionDouble("Visualization/rz");
}
sm->smMainLoop();
+ sm->smFinale();
}
void qmpVisualization::show()
{
@@ -208,7 +209,6 @@ void qmpVisualization::close()
if(showpiano&&!horizontal)for(int i=0;i<16;++i)delete p3d[i];
if(showparticle&&!horizontal)for(int i=0;i>16;++i)for(int j=0;j<128;++j){delete pss[i][j];pss[i][j]=0;}
if(noteappearance==1)delete nebuf;
- sm->smFinale();
if(savevp)
{
api->setOptionDouble("Visualization/px",pos[0]);