fix warning

This commit is contained in:
DeepSOIC
2017-09-10 18:32:06 +02:00
committed by wmayer
parent 0f92c3e559
commit e70a1678f8
+1 -1
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){