--Bug fixes

-Sequence generation was generating the wrong color curves when a non-default curve had less than 5 nodes in it.
This commit is contained in:
Person
2021-02-03 00:49:10 -08:00
parent c23d2ad049
commit e3e5120130
2 changed files with 4 additions and 9 deletions

View File

@ -801,6 +801,8 @@ public:
//At this point, all of the curves at a given curve index (0 - 3) should have the same number of spline points across all embers.
for (size_t i = 0; i < embers[0].m_Curves.m_Points.size(); i++)//4 point arrays.
{
m_Curves.m_Points[i].clear();
while (m_Curves.m_Points[i].size() < embers[0].m_Curves.m_Points[i].size())
m_Curves.m_Points[i].push_back(v2F(0));