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

0023921: IGES reader cannot map subshapes colors inside nested assemblies

Modification to avoid creation of redundant labels in XCAF for any shapes  belonging compound even if colors are not defined for them.
Fix to avoid compiler warning.
Fix for regression for test case de iges_2 A6
Test case for issue CR23921
This commit is contained in:
gka
2013-12-05 15:26:01 +04:00
committed by bugmaster
parent 94218044fe
commit d4a2c5155a
15 changed files with 199 additions and 71 deletions

25
tests/bugs/xde/bug23921 Normal file
View File

@@ -0,0 +1,25 @@
puts "============"
puts "OCC23921"
puts "============"
puts ""
#################################################################
# IGES reader cannot map subshapes colors inside nested assemblies
#################################################################
pload DCAF
NewDocument D XmlXCAF
ReadIges D [locate_data_file bug23921_case2.igs]
#XShow D
#
XGetOneShape result D
vinit
vsetdispmode 1
vdisplay result
vfit
set only_screen 1