fixed history tool

This commit is contained in:
Sonaion
2020-02-07 10:22:18 +01:00
parent 5787b065c5
commit 7e93e69a53
9 changed files with 23 additions and 74 deletions

View File

@@ -459,17 +459,7 @@ void updateTools();
/*!
* \brief history - an array out of containers to save history actions.
*/
std::vector<LayerObject> history[100] = {layerBundle};
/*!
* \brief historyMaxPast a indicator how many steps you can go into the past.
*/
int historyMaxPast = 0;
/*!
* \brief historyMaxPast a indicator how many steps you can go into the future.
*/
int historyMaxFuture = 0;
std::vector<std::vector<LayerObject>> history = {layerBundle};
/*!
* \brief historyPresent a indicator where the present is.