mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
refactor: 重构生成通道代码
This commit is contained in:
parent
8c6e3eb449
commit
b48cdbbc9d
4 changed files with 333 additions and 287 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue