--Bug fixes

-Make xaos pasting options apply all of the time even if there is no xaos.
This commit is contained in:
Person 2020-03-11 07:02:38 -07:00
parent 1ba1e0925f
commit ab836aaa82

View File

@ -215,8 +215,6 @@ void Fractorium::OnAddLinkedXformButtonClicked(bool checked) { m_Controller->Add
/// <param name="eXaosPasteStyle">The method which governs how the copying of xaos values is handles</param>
template <typename T>
void FractoriumEmberController<T>::AddXformsWithXaos(Ember<T>& ember, std::vector<std::pair<Xform<T>, size_t>>& xforms, bool preserveXaos, eXaosPasteStyle pastestyle)
{
if (ember.XaosPresent())
{
auto oldxfcount = ember.XformCount();
@ -289,10 +287,6 @@ void FractoriumEmberController<T>::AddXformsWithXaos(Ember<T>& ember, std::vecto
}
}
}
else
for (auto& it : xforms)
ember.AddXform(it.first);
}
/// <summary>
/// Duplicate the specified xforms in the current ember, and set the last one as the current xform.