File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -700,6 +700,8 @@ void MasterNotation::updateExcerpts()
700
700
excerptNotation->notation ()->elements ()->msScore ()->doLayout ();
701
701
}
702
702
703
+ initNotationSoloMuteState (excerptNotation->notation ());
704
+
703
705
updatedExcerpts.push_back (excerptNotation);
704
706
}
705
707
Original file line number Diff line number Diff line change @@ -1272,7 +1272,11 @@ void PlaybackController::onTrackNewlyAdded(const InstrumentTrackId& instrumentTr
1272
1272
if (notation == m_notation || notation->soloMuteState ()->trackSoloMuteStateExists (instrumentTrackId)) {
1273
1273
continue ;
1274
1274
}
1275
- const INotationSoloMuteState::SoloMuteState soloMuteState = { /* mute*/ true , /* solo*/ false };
1275
+
1276
+ const Part* part = notation->parts ()->part (instrumentTrackId.partId );
1277
+ const bool shouldMute = !part || !part->show ();
1278
+
1279
+ const INotationSoloMuteState::SoloMuteState soloMuteState = { shouldMute, /* solo*/ false };
1276
1280
notation->soloMuteState ()->setTrackSoloMuteState (instrumentTrackId, soloMuteState);
1277
1281
}
1278
1282
}
You can’t perform that action at this time.
0 commit comments