Skip to content

Commit

Permalink
Fixed warning on loading a pipe with independing release
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Mar 1, 2024
1 parent fa23534 commit 44a480e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/grandorgue/model/GOSoundingPipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,9 @@ void GOSoundingPipe::Validate() {
GetLoadTitle().c_str());
}

if (m_SoundProvider.checkNotNecessaryRelease()) {
if (
!m_PipeConfigNode.IsEffectiveIndependentRelease()
&& m_SoundProvider.checkNotNecessaryRelease()) {
wxLogWarning(
_("rank %s pipe %s: percussive sample with a release"),
m_Rank->GetName().c_str(),
Expand Down

0 comments on commit 44a480e

Please sign in to comment.