1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
abv cccf81ea2a 0024176: Array out-of-bound error in Vrml loader (test bugs moddata_3 bug23023)
Code assigning normals to nodes of triangulation corrected to use correct index of the node and avoid array out-of-bound errors.
2013-09-26 20:28:47 +04:00

18 lines
541 B
Plaintext

puts "========================"
puts "OCC23023"
puts "========================"
puts ""
#######################################################################
# VRML reader fails on attempt to read an attached WRL file
#######################################################################
set BugNumber OCC23023
pload XDE
set filepath [locate_data_file OCC23023-2056132060_2_tutnicht.wrl]
if [catch { set list [loadvrml result $filepath] } res] {
puts "Faulty: VRML reader fails"
} else {
puts "OK: VRML reader work properly"
}