mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #7093 from HiRavie/master
Fix all envelopes being saved as bezier
This commit is contained in:
commit
812231449b
|
@ -364,7 +364,7 @@ bool CEditorMap::Save(const char *pFileName)
|
||||||
|
|
||||||
// save points
|
// save points
|
||||||
m_pEditor->Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "editor", "saving envelope points");
|
m_pEditor->Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "editor", "saving envelope points");
|
||||||
bool BezierUsed = true;
|
bool BezierUsed = false;
|
||||||
for(const auto &pEnvelope : m_vpEnvelopes)
|
for(const auto &pEnvelope : m_vpEnvelopes)
|
||||||
{
|
{
|
||||||
for(const auto &Point : pEnvelope->m_vPoints)
|
for(const auto &Point : pEnvelope->m_vPoints)
|
||||||
|
|
Loading…
Reference in a new issue