1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0032975: Visualization, TKOpenGl - do not blit inactive Subview

This commit is contained in:
kgv
2022-05-16 22:28:09 +03:00
committed by smoskvin
parent b9280b8b27
commit dcbd679c8b
2 changed files with 7 additions and 1 deletions

View File

@@ -2225,6 +2225,11 @@ bool OpenGl_View::blitSubviews (const Graphic3d_Camera::Projection ,
for (const Handle(Graphic3d_CView)& aChildIter : mySubviews)
{
OpenGl_View* aSubView = dynamic_cast<OpenGl_View*> (aChildIter.get());
if (!aSubView->IsActive())
{
continue;
}
const Handle(OpenGl_FrameBuffer)& aChildFbo = !aSubView->myImmediateSceneFbos[0].IsNull()
? aSubView->myImmediateSceneFbos[0]
: aSubView->myMainSceneFbos[0];