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>;
|
using type = OpenMesh::MPropHandleT<T>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
struct HandleToPropHandle<OpenMesh::MeshHandle, T> {
|
||||||
|
using type = OpenMesh::MPropHandleT<T>;
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace OpenMesh
|
} // namespace OpenMesh
|
||||||
|
|
||||||
#endif // HANDLETOPROPHANDLE_HH_
|
#endif // HANDLETOPROPHANDLE_HH_
|
||||||
|
|||||||
Reference in New Issue
Block a user