set colors to 1.000 instead of 0.001 for new colorenvelopes

This commit is contained in:
H-M-H 2015-09-18 23:47:07 +02:00
parent e6cf2241b2
commit 930dd8f2ad

View file

@ -4267,8 +4267,8 @@ void CEditor::RenderEnvelopeEditor(CUIRect View)
{ {
if(pNewEnv->m_Channels == 4) if(pNewEnv->m_Channels == 4)
{ {
pNewEnv->AddPoint(0, 1,1,1,1); pNewEnv->AddPoint(0, f2fx(1.0f), f2fx(1.0f), f2fx(1.0f), f2fx(1.0f));
pNewEnv->AddPoint(1000, 1,1,1,1); pNewEnv->AddPoint(1000, f2fx(1.0f), f2fx(1.0f), f2fx(1.0f), f2fx(1.0f));
} }
else else
{ {