#include "SMESH_subMesh.hxx"
#include "utilities.h"
-#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
#include <TopoDS_Iterator.hxx>
const TopoDS_Shape& aSubShape = smToCompute->GetSubShape();
const int aShapeDim = GetShapeDim( aSubShape );
- if ( aShapeDim < 1 || aSubShape.ShapeType() == shapeType )
+ if ( aShapeDim < 1 || aSubShape.ShapeType() <= shapeType )
continue;
// check for preview dimension limitations