Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c29c4a6
)
Do not calc Controls when clipping is changed.
author
enk
<enk@opencascade.com>
Wed, 2 Feb 2005 13:35:49 +0000
(13:35 +0000)
committer
enk
<enk@opencascade.com>
Wed, 2 Feb 2005 13:35:49 +0000
(13:35 +0000)
src/OBJECT/SMESH_Actor.cxx
patch
|
blob
|
history
diff --git
a/src/OBJECT/SMESH_Actor.cxx
b/src/OBJECT/SMESH_Actor.cxx
index b3802aefbe1fbf558973965c8fca66bed0e5bb9e..dc35fcda2aa9bba3850ce2767a0bc69933183e44 100644
(file)
--- a/
src/OBJECT/SMESH_Actor.cxx
+++ b/
src/OBJECT/SMESH_Actor.cxx
@@
-1275,7
+1275,10
@@
void SMESH_ActorDef::Update(){
if(MYDEBUG) MESSAGE("SMESH_ActorDef::Update");
if(GetControlMode() != eNone) {
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);
}
if(myIsPointsLabeled){
SetPointsLabeled(myIsPointsLabeled);