Fixed cache issue on edit undo, and added an edit button for layers
This commit is contained in:
parent
6e13c5742e
commit
dbec3641d8
5 changed files with 14 additions and 8 deletions
|
|
@ -42,7 +42,7 @@ class WorldUndoManager {
|
|||
private:
|
||||
void push_undo(std::unique_ptr<WorldUndoAction> undoAction);
|
||||
void push_redo(std::unique_ptr<WorldUndoAction> undoAction);
|
||||
constexpr static size_t UNDO_QUEUE_LIMIT = 500;
|
||||
constexpr static size_t UNDO_QUEUE_LIMIT = 250;
|
||||
|
||||
std::unordered_map<UndoObjectID, NetworkingObjects::NetObjID> undoIDToNetID;
|
||||
std::unordered_map<NetworkingObjects::NetObjID, UndoObjectID> netIDToUndoID;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue