Archived issue #0026594
Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the Viewer within immediate mode
Description
Calling Invalidate() within MoveTo() breaks conception of rendering dynamically highlighted structures in Immediate Mode:
if (toUpdateViewer)
{
if (theToRedrawOnUpdate)
{
theView->Viewer()->Update();
}
else
{
theView->Viewer()->Invalidate();
}
}
Steps to reproduce
N/A
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Aug 24 18:00:04 2015 +0300
0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the Viewer within immediate mode
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Aug 24 18:00:04 2015 +0300
0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the Viewer within immediate mode
Trivial patch is ready for review.
Branch CR26594 reviewed without remarks, ready for testing.
Dear BugMaster,
Branch CR26594 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
No regressions/differences
Testing cases:
Not needed
Testing on Linux:
occt component :
Total MEMORY difference: 91947325 / 91601368 [+0.38%]
Total CPU difference: 17774.189999998944 / 17713.849999998944 [+0.34%]
products component :
Total MEMORY difference: 25110434 / 25123208 [-0.05%]
Total CPU difference: 7052.500000000005 / 7008.090000000001 [+0.63%]
Testing on Windows:
occt component :
Total MEMORY difference: 57064028 / 57056248 [+0.01%]
Total CPU difference: 16303.414908399678 / 16696.724629599114 [-2.36%]
products component :
Total MEMORY difference: 16118043 / 16119994 [-0.01%]
Total CPU difference: 5386.636529499987 / 5290.8519154999685 [+1.81%]
There are no differences in images found by testdiff.
Branch CR26594 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
No regressions/differences
Testing cases:
Not needed
Testing on Linux:
occt component :
Total MEMORY difference: 91947325 / 91601368 [+0.38%]
Total CPU difference: 17774.189999998944 / 17713.849999998944 [+0.34%]
products component :
Total MEMORY difference: 25110434 / 25123208 [-0.05%]
Total CPU difference: 7052.500000000005 / 7008.090000000001 [+0.63%]
Testing on Windows:
occt component :
Total MEMORY difference: 57064028 / 57056248 [+0.01%]
Total CPU difference: 16303.414908399678 / 16696.724629599114 [-2.36%]
products component :
Total MEMORY difference: 16118043 / 16119994 [-0.01%]
Total CPU difference: 5386.636529499987 / 5290.8519154999685 [+1.81%]
There are no differences in images found by testdiff.
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]