fix: disable parameter cost check for now (#821)

This creates compatibility issues with VRCF, as well as being
run in the wrong phase of processing in any case.

At some point this will need to be restored, as part of a new
NDMF processing phase that runs much later in the build.

Fixes: #813, #806
This commit is contained in:
bd_ 2024-04-15 11:43:16 +09:00 committed by GitHub
parent b23c0c1a1c
commit 8d64c63f49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -260,7 +260,8 @@ namespace nadena.dev.modular_avatar.core.editor
}
expParams.parameters = parameters.ToArray();
/*
if (expParams.CalcTotalCost() > VRCExpressionParameters.MAX_PARAMETER_COST)
{
BuildReport.LogFatal("error.rename_params.too_many_synced_params", new[]
@ -270,6 +271,7 @@ namespace nadena.dev.modular_avatar.core.editor
}
);
}
*/
avatar.expressionParameters = expParams;
}