mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Do not calc Controls when clipping is changed.
This commit is contained in:
parent
c29c4a6a7a
commit
4a31c0f62c
@ -1275,7 +1275,10 @@ void SMESH_ActorDef::Update(){
|
|||||||
if(MYDEBUG) MESSAGE("SMESH_ActorDef::Update");
|
if(MYDEBUG) MESSAGE("SMESH_ActorDef::Update");
|
||||||
|
|
||||||
if(GetControlMode() != eNone) {
|
if(GetControlMode() != eNone) {
|
||||||
SetControlMode(GetControlMode());
|
unsigned long aTime = myTimeStamp->GetMTime();
|
||||||
|
unsigned long anObjTime = myVisualObj->GetUnstructuredGrid()->GetMTime();
|
||||||
|
if (anObjTime > aTime)
|
||||||
|
SetControlMode(GetControlMode());
|
||||||
}
|
}
|
||||||
if(myIsPointsLabeled){
|
if(myIsPointsLabeled){
|
||||||
SetPointsLabeled(myIsPointsLabeled);
|
SetPointsLabeled(myIsPointsLabeled);
|
||||||
|
Loading…
Reference in New Issue
Block a user