Salome HOME
Remove NotifySubMeshesHypothesisModification for performance reason for method called...
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_Hypothesis.cxx
index 444429ed99cf9ff1349188a960be968aec5c7204..51f0d224b9f35b615827efc2770cfaeb07e3351e 100644 (file)
@@ -1289,7 +1289,9 @@ void BLSURFPlugin_Hypothesis::AddFacePeriodicity(TEntry theFace1Entry, TEntry th
 
   _facesPeriodicityVector.push_back(pairOfFacesEntries);
 
-  NotifySubMeshesHypothesisModification();
+  // Removed for performance reason since AddFacePeriodicity is called multiple times (one time for each face)
+  // Does not affect the behaviour since it is only called via python, not via GUI.
+  //NotifySubMeshesHypothesisModification();
 }
 
 
@@ -1307,7 +1309,9 @@ void BLSURFPlugin_Hypothesis::AddEdgePeriodicity(TEntry theFace1Entry, TEntry th
 
   _edgesPeriodicityVector.push_back(edgePeriodicity);
 
-  NotifySubMeshesHypothesisModification();
+  // Removed for performance reason since AddEdgePeriodicity is called multiple times (one time for each edge)
+  // Does not affect the behaviour since it is only called via python, not via GUI.
+  //NotifySubMeshesHypothesisModification();
 }
 
 //=======================================================================
@@ -1323,7 +1327,9 @@ void BLSURFPlugin_Hypothesis::AddVertexPeriodicity(TEntry theEdge1Entry, TEntry
 
   _verticesPeriodicityVector.push_back(vertexPeriodicity);
 
-  NotifySubMeshesHypothesisModification();
+  // Removed for performance reason since AddVertexPeriodicity is called multiple times (one time for each vertex)
+  // Does not affect the behaviour since it is only called via python, not via GUI.
+  //NotifySubMeshesHypothesisModification();
 }
 
 //=============================================================================