mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0029403: Data Exchange - subshapes names are not imported from step
Fix processing of subshape names in STEP in reading and writing. Replace creating subshapes in Document as tree (invalid) with plain subshapes structure. Update test cases.
This commit is contained in:
@@ -671,9 +671,9 @@ Standard_Boolean STEPCAFControl_Writer::Transfer (STEPControl_Writer &writer,
|
||||
const Handle(XSControl_TransferWriter) &TW = this->ChangeWriter().WS()->TransferWriter();
|
||||
const Handle(Transfer_FinderProcess) &FP = TW->FinderProcess();
|
||||
|
||||
for ( int i = 1; i <= labels.Length(); i++ )
|
||||
for ( int i = 1; i <= sublabels.Length(); i++ )
|
||||
{
|
||||
TDF_Label L = labels.Value(i);
|
||||
TDF_Label L = sublabels.Value(i);
|
||||
|
||||
for ( TDF_ChildIterator it(L, Standard_True); it.More(); it.Next() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user