Do not calc Controls when clipping is changed.

This commit is contained in:
enk 2005-02-02 13:35:49 +00:00
parent c29c4a6a7a
commit 4a31c0f62c

View 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);