refactor: 重构生成通道代码

This commit is contained in:
刘旭 2022-03-01 16:18:32 +08:00
commit b48cdbbc9d
4 changed files with 333 additions and 287 deletions

View file

@ -186,7 +186,7 @@ bool EffectDrawer::Initialize(
if (it->second.index() == 0) {
value = std::get<0>(it->second);
} else {
value = std::get<1>(it->second);
value = (float)std::get<1>(it->second);
}
if ((paramDesc.minValue.index() == 1 && value < std::get<float>(paramDesc.minValue))