Commit 14f68ae0 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed visualization of modeling area which was always one face to small.

closes #442

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 76221eb2
......@@ -80,14 +80,11 @@ struct AreaNodeMod
/// tell status node if the face is marked as modeling area
static inline bool is_area(const MeshT& _m, typename MeshT::FaceHandle _fh)
bool isArea = true;
for(typename MeshT::ConstFaceVertexIter cfv_it = _m.cfv_iter(_fh); cfv_it; ++cfv_it) {
if(!_m.status(cfv_it.handle()).is_bit_set(AREA)) {
isArea = false;
return isArea;
for (typename MeshT::ConstFaceVertexIter cfv_it = _m.cfv_iter(_fh); cfv_it; ++cfv_it)
if (_m.status(cfv_it.handle()).is_bit_set(AREA))
return true;
return false;
/// tell status node if the vertex is marked as modeling area
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment