mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
set colors to 1.000 instead of 0.001 for new colorenvelopes
This commit is contained in:
parent
e6cf2241b2
commit
930dd8f2ad
|
@ -4267,8 +4267,8 @@ void CEditor::RenderEnvelopeEditor(CUIRect View)
|
|||
{
|
||||
if(pNewEnv->m_Channels == 4)
|
||||
{
|
||||
pNewEnv->AddPoint(0, 1,1,1,1);
|
||||
pNewEnv->AddPoint(1000, 1,1,1,1);
|
||||
pNewEnv->AddPoint(0, f2fx(1.0f), f2fx(1.0f), f2fx(1.0f), f2fx(1.0f));
|
||||
pNewEnv->AddPoint(1000, f2fx(1.0f), f2fx(1.0f), f2fx(1.0f), f2fx(1.0f));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue