0028890: Visualization - After closing all views and then display the view again...
authorkgv <kgv@opencascade.com>
Fri, 7 Jul 2017 14:06:09 +0000 (17:06 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 13 Jul 2017 09:42:47 +0000 (12:42 +0300)
commit851dacdbb93d90eef08bdc208cbb8c4078f82957
treea20fadd812d613b3283450cd42d401026b76dbce
parent336a63f0426777a5d2398d8f73f8d4b945800539
0028890: Visualization - After closing all views and then display the view again, just the first view has object(s) displayed

DeviceLost flag has been moved from Graphic3d_GraphicDriver to Graphic3d_StructureManager,
so that all Viewers sharing the same Driver instance are properly invalidated.

Fixed clearing of objects by vclear command in case of multiple Viewers.
16 files changed:
src/D3DHost/D3DHost_GraphicDriver.cxx
src/D3DHost/D3DHost_View.cxx
src/D3DHost/D3DHost_View.hxx
src/Graphic3d/Graphic3d_GraphicDriver.cxx
src/Graphic3d/Graphic3d_GraphicDriver.hxx
src/Graphic3d/Graphic3d_StructureManager.cxx
src/Graphic3d/Graphic3d_StructureManager.hxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_GraphicDriver.hxx
src/OpenGl/OpenGl_View.cxx
src/OpenGl/OpenGl_View.hxx
src/OpenGl/OpenGl_View_Redraw.cxx
src/V3d/V3d_View.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug28890 [new file with mode: 0644]