]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Do not calc Controls when clipping is changed.
authorenk <enk@opencascade.com>
Wed, 2 Feb 2005 13:35:49 +0000 (13:35 +0000)
committerenk <enk@opencascade.com>
Wed, 2 Feb 2005 13:35:49 +0000 (13:35 +0000)
src/OBJECT/SMESH_Actor.cxx

index b3802aefbe1fbf558973965c8fca66bed0e5bb9e..dc35fcda2aa9bba3850ce2767a0bc69933183e44 100644 (file)
@@ -1275,7 +1275,10 @@ void SMESH_ActorDef::Update(){
   if(MYDEBUG) MESSAGE("SMESH_ActorDef::Update");
 
   if(GetControlMode() != eNone) {
-    SetControlMode(GetControlMode());
+    unsigned long aTime = myTimeStamp->GetMTime();
+    unsigned long anObjTime = myVisualObj->GetUnstructuredGrid()->GetMTime();
+    if (anObjTime > aTime)
+      SetControlMode(GetControlMode());
   }
   if(myIsPointsLabeled){
     SetPointsLabeled(myIsPointsLabeled);