fix export project for sampletracks with vst effects on it (#3571)

* fix export project for sampletracks with vst effects on it

* removed playTriggered Signal
This commit is contained in:
Steffen Baranowsky
2017-05-29 15:53:06 +02:00
committed by GitHub
parent f1a3368a37
commit 1eef218aeb

View File

@@ -71,6 +71,8 @@ SampleTCO::SampleTCO( Track * _track ) :
{
connect( timeLine, SIGNAL( positionMarkerMoved() ), this, SLOT( playbackPositionChanged() ) );
}
//playbutton clicked or space key / on Export Song set isPlaying to false
connect( Engine::getSong(), SIGNAL( playbackStateChanged() ), this, SLOT( playbackPositionChanged() ) );
//care about loops
connect( Engine::getSong(), SIGNAL( updateSampleTracks() ), this, SLOT( playbackPositionChanged() ) );
//care about mute TCOs
@@ -79,11 +81,6 @@ SampleTCO::SampleTCO( Track * _track ) :
connect( getTrack()->getMutedModel(), SIGNAL( dataChanged() ),this, SLOT( playbackPositionChanged() ) );
//care about TCO position
connect( this, SIGNAL( positionChanged() ), this, SLOT( updateTrackTcos() ) );
//playbutton clicked or space key
if( gui )
{
connect( gui->songEditor(), SIGNAL( playTriggered() ), this, SLOT( playbackPositionChanged() ) );
}
switch( getTrack()->trackContainer()->type() )
{