const GetAllAttributeHandle

This commit is contained in:
alemuntoni 2021-03-19 13:16:48 +01:00
parent 8b36975248
commit 82ce871150
1 changed files with 2 additions and 2 deletions

View File

@ -1550,7 +1550,7 @@ public:
\returns the name of all attributes with a non-empy name.
*/
template <class ATTR_TYPE>
static void GetAllPerVertexAttribute(MeshType & m, std::vector<std::string> &all){
static void GetAllPerVertexAttribute(const MeshType & m, std::vector<std::string> &all){
all.clear();
typename std::set<PointerToAttribute > ::const_iterator i;
for(i = m.vert_attr.begin(); i != m.vert_attr.end(); ++i )
@ -1847,7 +1847,7 @@ public:
}
template <class ATTR_TYPE>
static void GetAllPerFaceAttribute(MeshType & m, std::vector<std::string> &all){
static void GetAllPerFaceAttribute(const MeshType & m, std::vector<std::string> &all){
all.clear();
typename std::set<PointerToAttribute > :: const_iterator i;
for(i = m.face_attr.begin(); i != m.face_attr.end(); ++i )