Salome HOME
Implementation of the issue #1307. Also make connected parameters from different...
[modules/shaper.git] / src / Model / Model_Update.cpp
index dfd0a45145f49c416ab2688ae8513f0b9424a4f7..38549c395974cd4a9f1b3fabd76a1ebc3565d2c5 100644 (file)
@@ -33,7 +33,7 @@
 using namespace std;
 
 Model_Update MY_UPDATER_INSTANCE;  /// the only one instance initialized on load of the library
-#define DEB_UPDATE
+//#define DEB_UPDATE
 
 Model_Update::Model_Update()
 {
@@ -66,7 +66,9 @@ void Model_Update::addModified(FeaturePtr theFeature, FeaturePtr theReason) {
   }
   if (myModified.find(theFeature) != myModified.end()) {
     if (theReason.get()) {
+#ifdef DEB_UPDATE
       std::cout<<"*** Add already modified "<<theFeature->name()<<std::endl;
+#endif
       myModified[theFeature].insert(theReason);
     }
     return; // already is marked as modified, so, nothing to do, it will be processed
@@ -684,4 +686,3 @@ void Model_Update::updateStability(void* theSender)
     }
   }
 }
-