Merge pull request #7093 from HiRavie/master

Fix all envelopes being saved as bezier
This commit is contained in:
heinrich5991 2023-08-28 14:51:49 +00:00 committed by GitHub
commit 812231449b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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