Envelope preview: make last point editable

This commit is contained in:
BeaR 2012-12-07 16:11:40 +01:00 committed by oy
parent b8602f019b
commit 639c7cf6a8

View file

@ -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();