fix warning

This commit is contained in:
DeepSOIC
2017-09-03 13:49:53 +03:00
committed by wmayer
parent a22c1206d1
commit 8bf409eb74

View File

@@ -1505,7 +1505,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP
SketchBasePoint = BRep_Tool::Pnt(TopoDS::Vertex(*(shapes[0])));
//read out axes directions
for(int i = 1; i < 3 && i < shapes.size(); ++i){
for(size_t i = 1; i < 3 && i < shapes.size(); ++i){
if (shapes[i]->IsNull())
THROWM(Base::TypeError, "AttachEngine3D::calculateAttachedPlacement: null shape!")
if (shapes[i]->ShapeType() == TopAbs_VERTEX){