File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Sources/Rendering/OpenGL/RenderWindow Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -598,6 +598,7 @@ function vtkOpenGLRenderWindow(publicAPI, model) {
598
598
// remember the main canvas original size, then resize it
599
599
model . _screenshot . originalSize = model . size ;
600
600
model . size = model . _screenshot . size ;
601
+ model . rootOpenGLRenderWindow ?. resizeFromChildRenderWindows ( ) ;
601
602
model . _screenshot . size = null ;
602
603
603
604
// process the resize
@@ -1075,10 +1076,10 @@ function vtkOpenGLRenderWindow(publicAPI, model) {
1075
1076
model . renderPasses [ index ] . traverse ( publicAPI , null ) ;
1076
1077
}
1077
1078
}
1079
+ publicAPI . copyParentContent ( ) ;
1078
1080
if ( model . notifyStartCaptureImage ) {
1079
1081
getCanvasDataURL ( ) ;
1080
1082
}
1081
- publicAPI . copyParentContent ( ) ;
1082
1083
const childrenRW = model . renderable . getChildRenderWindowsByReference ( ) ;
1083
1084
for ( let i = 0 ; i < childrenRW . length ; ++ i ) {
1084
1085
publicAPI . getViewNodeFor ( childrenRW [ i ] ) ?. traverseAllPasses ( ) ;
You can’t perform that action at this time.
0 commit comments