mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0033638: Data Exchange, Step Import - Style for tessellated object missed
TransferBRep_ShapeBinder used for tessellated face.
This commit is contained in:
parent
c1620d29fa
commit
f7f32bf33e
@ -761,6 +761,8 @@ void StepToTopoDS_TranslateFace::Init(const Handle(StepVisual_TessellatedFace)&
|
||||
if (theNMTool.IsActive())
|
||||
theNMTool.Bind(theTF, aF);
|
||||
|
||||
aTP->Bind(theTF, new TransferBRep_ShapeBinder(aF));
|
||||
|
||||
myResult = aF;
|
||||
myError = StepToTopoDS_TranslateFaceDone;
|
||||
done = Standard_True;
|
||||
|
17
tests/bugs/step/bug33638
Normal file
17
tests/bugs/step/bug33638
Normal file
@ -0,0 +1,17 @@
|
||||
puts "===================================="
|
||||
puts "0033638: Data Exchange, Step Import - Style for tessellated object missed"
|
||||
puts "===================================="
|
||||
puts ""
|
||||
|
||||
pload OCAF
|
||||
|
||||
ReadStep D [locate_data_file bug33638.stp]
|
||||
|
||||
if { [ XFindColor D 0 0 1 ] == "" } {
|
||||
puts "Error: Color not found"
|
||||
}
|
||||
if { [ XFindColor D 1 0 0 ] == "" } {
|
||||
puts "Error: Color not found"
|
||||
}
|
||||
|
||||
Close D
|
Loading…
x
Reference in New Issue
Block a user