From 51ee1dcccb252bcf5a66bd33c1c247cbf28c92d0 Mon Sep 17 00:00:00 2001 From: Garux Date: Thu, 7 Mar 2019 00:50:25 +0300 Subject: [PATCH] more undo levels --- radiant/undo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radiant/undo.cpp b/radiant/undo.cpp index 0bcfc856..ababeecf 100644 --- a/radiant/undo.cpp +++ b/radiant/undo.cpp @@ -57,7 +57,7 @@ DebugScopeTimer( const char* operation ) class RadiantUndoSystem : public UndoSystem { -INTEGER_CONSTANT( MAX_UNDO_LEVELS, 1024 ); +INTEGER_CONSTANT( MAX_UNDO_LEVELS, 4096 ); class Snapshot { @@ -238,7 +238,7 @@ typedef std::set Trackers; Trackers m_trackers; public: RadiantUndoSystem() - : m_undo_levels( 64 ){ + : m_undo_levels( 512 ){ } ~RadiantUndoSystem(){ clear(); @@ -399,7 +399,7 @@ typedef ConstReferenceCaller1