Commit 88d043ac authored by Philip Trettner's avatar Philip Trettner
Browse files

window workaround, consistency fix

parent 8a51401e
......@@ -201,8 +201,9 @@ void Mesh::assert_consistency() const
polyassert(h.prev().vertex_to() == h.vertex_from());
auto ref_face = h.face();
for (auto h : h.ring())
polyassert(h.face() == ref_face);
if (ref_face.is_valid())
for (auto h : h.ring())
polyassert(h.face() == ref_face);
}
// check vertex consistencies
......
......@@ -77,8 +77,10 @@ public:
template <class FuncT>
auto view(FuncT&& f) const -> readonly_property<primitive_attribute<tag, AttrT> const&, FuncT>;
#ifndef _MSC_VER // cannot overload this apparently
template <class FuncT>
void view(FuncT&& f) && = delete;
#endif
// template <class ReadT, class WriteT>
// auto view(ReadT&& r, WriteT&& w) -> readwrite_property<primitive_attribute<tag, AttrT>, ReadT, WriteT>;
......
Markdown is supported
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