Commit 14b9279d authored by Max Lyon's avatar Max Lyon

add struct to HandleToPropHandle to get an MPropHandle from a MeshHandle

parent 42ea9177
......@@ -35,6 +35,11 @@ namespace OpenMesh {
using type = OpenMesh::MPropHandleT<T>;
};
template<typename T>
struct HandleToPropHandle<OpenMesh::MeshHandle, T> {
using type = OpenMesh::MPropHandleT<T>;
};
} // namespace OpenMesh
#endif // HANDLETOPROPHANDLE_HH_
\ No newline at end of file
#endif // HANDLETOPROPHANDLE_HH_
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