mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Envelope preview: make last point editable
This commit is contained in:
parent
b8602f019b
commit
639c7cf6a8
|
@ -1522,8 +1522,7 @@ void CEditor::DoQuadEnvelopes(const array<CQuad> &lQuads, IGraphics::CTextureHan
|
||||||
if(!apEnvelope[j])
|
if(!apEnvelope[j])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
//QuadParams
|
for(int i = 0; i < apEnvelope[j]->m_lPoints.size(); i++)
|
||||||
for(int i = 0; i < apEnvelope[j]->m_lPoints.size()-1; i++)
|
|
||||||
DoQuadEnvPoint(&lQuads[j], j, i);
|
DoQuadEnvPoint(&lQuads[j], j, i);
|
||||||
}
|
}
|
||||||
Graphics()->QuadsEnd();
|
Graphics()->QuadsEnd();
|
||||||
|
|
Loading…
Reference in a new issue