Skip to content

Commit

Permalink
Don't render Automation tracks in the Beat/Bassline (LMMS#4747)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine authored Dec 31, 2018
1 parent bdd6834 commit 49283c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/RenderManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void RenderManager::renderTracks()
Track* tk = (*it);
Track::TrackTypes type = tk->type();

// Don't mute automation tracks
// Don't render automation tracks
if ( tk->isMuted() == false &&
( type == Track::InstrumentTrack || type == Track::SampleTrack ) )
{
Expand All @@ -142,7 +142,11 @@ void RenderManager::renderTracks()
for( auto it = t2.begin(); it != t2.end(); ++it )
{
Track* tk = (*it);
if ( tk->isMuted() == false )
Track::TrackTypes type = tk->type();

// Don't render automation tracks
if ( tk->isMuted() == false &&
( type == Track::InstrumentTrack || type == Track::SampleTrack ) )
{
m_unmuted.push_back(tk);
}
Expand Down

0 comments on commit 49283c1

Please sign in to comment.