Skip to content
Snippets Groups Projects
Commit 217997df authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cleanup

parent 367c5a7f
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,8 @@ GEdge *OCCFactory::addNURBS(GModel *gm, GVertex *start, GVertex *end, ...@@ -184,7 +184,8 @@ GEdge *OCCFactory::addNURBS(GModel *gm, GVertex *start, GVertex *end,
(ctrlPoints, _weights, _knots, _mult, degree, false); (ctrlPoints, _weights, _knots, _mult, degree, false);
TopoDS_Edge occEdge; TopoDS_Edge occEdge;
if (occv1 && occv2) if (occv1 && occv2)
occEdge = BRepBuilderAPI_MakeEdge(NURBS,occv1->getShape(),occv2->getShape()).Edge(); occEdge = BRepBuilderAPI_MakeEdge(NURBS, occv1->getShape(),
occv2->getShape()).Edge();
else else
occEdge = BRepBuilderAPI_MakeEdge(NURBS).Edge(); occEdge = BRepBuilderAPI_MakeEdge(NURBS).Edge();
return gm->_occ_internals->addEdgeToModel(gm, occEdge); return gm->_occ_internals->addEdgeToModel(gm, occEdge);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment