1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the Viewer within immediate mode

This commit is contained in:
kgv 2015-08-24 18:00:04 +03:00 committed by ski
parent 43d16da384
commit 2eea6525af

View File

@ -245,16 +245,10 @@ AIS_StatusOfDetection AIS_InteractiveContext::MoveTo (const Standard_Integer th
myLastPicked.Nullify();
}
if (toUpdateViewer)
if (toUpdateViewer
&& theToRedrawOnUpdate)
{
if (theToRedrawOnUpdate)
{
theView->Viewer()->Update();
}
else
{
theView->Viewer()->Invalidate();
}
theView->Viewer()->Update();
}
mylastmoveview = theView;