Fixed bitinvader loading
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@940 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -212,7 +212,7 @@ void bitInvader::loadSettings( const QDomElement & _this )
|
||||
char * dst = 0;
|
||||
base64::decode( _this.attribute( "sampleShape"), &dst, &size );
|
||||
|
||||
m_graph.setLength( size );
|
||||
m_graph.setLength( sampleLength );
|
||||
m_graph.setSamples( (float*) dst );
|
||||
delete[] dst;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user