mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0024728: A lot of tests are crashed on vdump command on Windows in debug mode
This commit is contained in:
@@ -3135,7 +3135,7 @@ Standard_Boolean V3d_View::ToPixMap (Image_PixMap& theImage,
|
|||||||
|
|
||||||
if (theToKeepAspect)
|
if (theToKeepAspect)
|
||||||
{
|
{
|
||||||
myCamera->SetAspect ((Standard_Real) aFBOVPSizeX / aFBOSizeYMax);
|
myCamera->SetAspect ((Standard_Real) aFBOVPSizeX / aFBOVPSizeY);
|
||||||
}
|
}
|
||||||
|
|
||||||
//workaround for rendering list of Over and Under Layers
|
//workaround for rendering list of Over and Under Layers
|
||||||
|
17
tests/bugs/vis/bug24728
Normal file
17
tests/bugs/vis/bug24728
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "CR24728"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Test image dumping with software accelerated GL context
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
vcaps soft=1
|
||||||
|
vinit View1
|
||||||
|
|
||||||
|
box b 1 2 3
|
||||||
|
vdisplay b
|
||||||
|
vfit
|
||||||
|
|
||||||
|
vdump $imagedir/${casename}.png
|
Reference in New Issue
Block a user