1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug23813
nbv 9e20ed5793 0023547: Tests failures in debug mode
1. DRAW-commands for curve/surface continuity returning were changed.
2. Output of "distmini" DRAW-command is amended.
3. Function MinMax() was moved from Standard_Real to IntPatch_ImpImpIntersection_4.gxx.
4. Incorrect computing of nbcurveC1 in Geom2dConvert::C0BSplineToC1BSplineCurve(...) function was liquidated.

Test cases were changed.
2014-10-16 16:45:13 +04:00

29 lines
773 B
Plaintext

## It's impossible to make vdump with non-default parameters (width and height) on remote PC
puts "============"
puts "OCC23813"
puts "============"
puts ""
#######################################################################
# TKOpenGl, OpenGl_Texture ignores stride image property
#######################################################################
file delete -force ${imagedir}/texture_412.png
file delete -force ${imagedir}/texture_409.png
box b 1 2 3
vinit
vsetdispmode 1
vdisplay b
vfit
vdump ${imagedir}/texture_409.png rgb 409 409
vdump ${imagedir}/texture_412.png rgb 412 412
# texture loaded correctly
vtexture b ${imagedir}/texture_412.png
# texture is corrupted during uploading to OpenGL
vtexture b ${imagedir}/texture_409.png
set only_screen 1