From 44625d0ebc115cdea732f1d124acfc49d7f52869 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 24 Dec 2014 15:41:58 +0300 Subject: [PATCH] Issue #321 : temporary fix for big sketches with high number of transactions --- src/Model/Model_Document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index dfd03fefc..1f5eedfe9 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -40,7 +40,7 @@ # define _separator_ '/' #endif -static const int UNDO_LIMIT = 10; // number of possible undo operations +static const int UNDO_LIMIT = 1000; // number of possible undo operations (big for sketcher) static const int TAG_GENERAL = 1; // general properties tag static const int TAG_OBJECTS = 2; // tag of the objects sub-tree (features, results) -- 2.39.2