+ remove 'using namespace Part' inside header file

This commit is contained in:
wmayer
2016-04-13 16:20:31 +02:00
parent df48d1668b
commit 08df5cbc59
7 changed files with 10 additions and 12 deletions

View File

@@ -121,7 +121,7 @@ void ShapeBinder::getFilterdReferences(App::PropertyLinkSubList* prop, Part::Fea
}
TopoShape ShapeBinder::buildShapeFromReferences( Part::Feature* obj, std::vector< std::string > subs) {
Part::TopoShape ShapeBinder::buildShapeFromReferences( Part::Feature* obj, std::vector< std::string > subs) {
if(!obj)
return TopoDS_Shape();
@@ -130,7 +130,7 @@ TopoShape ShapeBinder::buildShapeFromReferences( Part::Feature* obj, std::vector
return obj->Shape.getShape();
//if we use multiple subshapes we build a shape from them by fusing them together
TopoShape base;
Part::TopoShape base;
std::vector<TopoDS_Shape> operators;
for(std::string sub : subs) {
@@ -141,11 +141,11 @@ TopoShape ShapeBinder::buildShapeFromReferences( Part::Feature* obj, std::vector
}
try {
if(!operators.empty() && !base.isNull())
return base.multiFuse(operators);
if(!operators.empty() && !base.isNull())
return base.multiFuse(operators);
}
catch(...) {
return base;
}
return base;
}
}