Move Step reader to New Part Design workflow
This commit is contained in:
committed by
wmayer
parent
bd7d094bd3
commit
e9c782234b
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user