Move Step reader to New Part Design workflow

This commit is contained in:
Jean-Marie Verdun
2017-03-23 21:43:46 +01:00
committed by wmayer
parent 68d7f38970
commit 5f1879ee21
3 changed files with 29 additions and 33 deletions

View File

@@ -407,16 +407,6 @@ private:
ImportOCAFExt ocaf(hDoc, pcDoc, file.fileNamePure());
ocaf.loadShapes();
// Shape are loaded we must now sort the one we want to display and the one we do want to hide
Gui::Document *guiDoc = Gui::Application::Instance->activeDocument();
std::vector<const char *>keep_leaf= ocaf.return_leaf();
for (std::vector<const char *>::iterator it = keep_leaf.begin() ; it != keep_leaf.end(); ++it)
guiDoc->setShow((*it));
std::vector<const char *>hide_node= ocaf.return_node();
for (std::vector<const char *>::iterator it = hide_node.begin() ; it != hide_node.end(); ++it)
guiDoc->setHide((*it));
pcDoc->recompute();
}
catch (Standard_Failure) {