Commit d322acfb authored by Jan Möbius's avatar Jan Möbius

Merge branch 'MeshHandle_to_MPropHandle' into 'master'

add struct to HandleToPropHandle to get an MPropHandle from a MeshHandle

See merge request !240
parents 42ea9177 14b9279d
Pipeline #13072 passed with stages
in 205 minutes and 30 seconds
......@@ -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