From: mpv Date: Wed, 24 Dec 2014 12:41:58 +0000 (+0300) Subject: Issue #321 : temporary fix for big sketches with high number of transactions X-Git-Tag: V_0.7.0_rc1~50^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=44625d0ebc115cdea732f1d124acfc49d7f52869;p=modules%2Fshaper.git Issue #321 : temporary fix for big sketches with high number of transactions --- 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)