mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the Viewer within immediate mode
This commit is contained in:
parent
43d16da384
commit
2eea6525af
@ -245,16 +245,10 @@ AIS_StatusOfDetection AIS_InteractiveContext::MoveTo (const Standard_Integer th
|
|||||||
myLastPicked.Nullify();
|
myLastPicked.Nullify();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (toUpdateViewer)
|
if (toUpdateViewer
|
||||||
|
&& theToRedrawOnUpdate)
|
||||||
{
|
{
|
||||||
if (theToRedrawOnUpdate)
|
theView->Viewer()->Update();
|
||||||
{
|
|
||||||
theView->Viewer()->Update();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
theView->Viewer()->Invalidate();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mylastmoveview = theView;
|
mylastmoveview = theView;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user