Skip to content

Commit

Permalink
update UGen add() to handle channel error without assertion fail
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Oct 16, 2024
1 parent f3f3738 commit 2d525b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions VERSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
ChucK VERSIONS log
------------------

1.5.3.3
=======
- (fixed) specific internal UGen connection error now handled without exiting


1.5.3.2 (October 2024)
=======
*** ChuGL maintanance patch ***
Expand Down
4 changes: 2 additions & 2 deletions src/core/chuck_ugen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ t_CKBOOL Chuck_UGen::add( Chuck_UGen * src, t_CKBOOL isUpChuck )
}
else
{
EM_error3( "(internal error) unhandled UGen add: outs: %d ins: %d", outs, ins );
assert( FALSE );
EM_error3( "(internal error) unhandled UGen =>: outs: %d ins: %d", outs, ins );
return FALSE; // removed assertion 1.5.3.3 (ge)
}

return TRUE;
Expand Down

0 comments on commit 2d525b5

Please sign in to comment.