]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #321 : temporary fix for big sketches with high number of transactions
authormpv <mikhail.ponikarov@opencascade.com>
Wed, 24 Dec 2014 12:41:58 +0000 (15:41 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Wed, 24 Dec 2014 12:41:58 +0000 (15:41 +0300)
src/Model/Model_Document.cpp

index dfd03fefc57fe9f6d745d56082a4fcff9fdc4a95..1f5eedfe9a7a11639486087bc77cb32616532026 100644 (file)
@@ -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)