mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 13:26:02 -04:00
--User changes
-Allow changes which do not trigger a full render to be added to the undo list. --Code changes -Optimize hypershift2.
This commit is contained in:
@ -443,7 +443,8 @@ bool FractoriumEmberController<T>::Render()
|
||||
{
|
||||
auto btn = QApplication::mouseButtons();
|
||||
|
||||
if (!btn.testFlag(Qt::LeftButton) && !btn.testFlag(Qt::RightButton) && !btn.testFlag(Qt::MiddleButton))
|
||||
if ((action == eProcessAction::ACCUM_ONLY || action == eProcessAction::FILTER_AND_ACCUM) ||
|
||||
(!btn.testFlag(Qt::LeftButton) && !btn.testFlag(Qt::RightButton) && !btn.testFlag(Qt::MiddleButton)))
|
||||
{
|
||||
m_UndoList.push_back(m_Ember);
|
||||
m_UndoIndex = m_UndoList.size() - 1;
|
||||
|
Reference in New Issue
Block a user