add struct to HandleToPropHandle to get an MPropHandle from a MeshHandle
This commit is contained in:
@@ -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_
|
||||
Reference in New Issue
Block a user