Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions source/include/FluidMaxWrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1600,11 +1600,11 @@ class FluidMaxWrapper

if (!x->mAutosize && ac != x->mListSize)
{
object_warn((t_object*)x, "bad input list size (%d), expect %d",ac,x->mListSize);
object_warn((t_object*)x, "bad input list size (%d), expected %d",ac,x->mListSize);
return;
}

if (x->mAutosize)
if (x->mAutosize && isControlOutFollowsIn<typename Client::Client>)
x->resizeListHandlers(ac);

x->mListHandler(x, ac, av);
Expand Down Expand Up @@ -1740,12 +1740,15 @@ class FluidMaxWrapper
{
long argCount{0};

if (isControlOutFollowsIn<typename Client::Client>)
if (isControlIn<typename Client::Client>)
{
mListSize = atom_getlong(av);
numArgs -= 1;
av += 1;
ac--;
if (isControlOutFollowsIn<typename Client::Client>)
{
numArgs -= 1;
av += 1;
ac--;
}
}

auto r1 = mParams.setPrimaryParameterValues(true,
Expand Down