1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0030809: Data Exchange - fix misprint in RWMesh_CafReader::generateNames()

This commit is contained in:
kgv 2019-06-25 15:31:56 +03:00 committed by apn
parent bbf3fcdecd
commit 62810a3c51

View File

@ -366,9 +366,7 @@ void RWMesh_CafReader::generateNames (const TCollection_AsciiString& theFile,
if (theWithSubLabels) if (theWithSubLabels)
{ {
for (XCAFPrs_DocumentExplorer aDocIter (myXdeDoc, for (XCAFPrs_DocumentExplorer aDocIter (myXdeDoc, aNewRootLabels, XCAFPrs_DocumentExplorerFlags_NoStyle);
aNewRootLabels,
XCAFPrs_DocumentExplorerFlags_OnlyLeafNodes | XCAFPrs_DocumentExplorerFlags_NoStyle);
aDocIter.More(); aDocIter.Next()) aDocIter.More(); aDocIter.Next())
{ {
if (aDocIter.CurrentDepth() == 0 if (aDocIter.CurrentDepth() == 0