mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 18:40:12 -05:00
--Bug fixes
-Make xaos pasting options apply all of the time even if there is no xaos.
This commit is contained in:
parent
1ba1e0925f
commit
ab836aaa82
@ -216,8 +216,6 @@ void Fractorium::OnAddLinkedXformButtonClicked(bool checked) { m_Controller->Add
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
void FractoriumEmberController<T>::AddXformsWithXaos(Ember<T>& ember, std::vector<std::pair<Xform<T>, size_t>>& xforms, bool preserveXaos, eXaosPasteStyle pastestyle)
|
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();
|
auto oldxfcount = ember.XformCount();
|
||||||
|
|
||||||
for (auto& it : xforms)
|
for (auto& it : xforms)
|
||||||
@ -288,10 +286,6 @@ void FractoriumEmberController<T>::AddXformsWithXaos(Ember<T>& ember, std::vecto
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
|
||||||
for (auto& it : xforms)
|
|
||||||
ember.AddXform(it.first);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user