change mesh model id to int for pymeshlab

This commit is contained in:
alemuntoni 2021-11-22 11:17:05 +01:00
parent d117cd638b
commit 5012edc1d4
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@
using namespace vcg;
MeshModel::MeshModel(unsigned int id, const QString& fullFileName, const QString& labelName) :
MeshModel::MeshModel(int id, const QString& fullFileName, const QString& labelName) :
visible(true)
{
/*glw.m = &(cm);*/

View File

@ -121,14 +121,14 @@ public:
MM_ALL = 0xffffffff
};
MeshModel(unsigned int id, const QString& fullFileName, const QString& labelName);
MeshModel(int id, const QString& fullFileName, const QString& labelName);
~MeshModel()
{
}
void clear();
void updateBoxAndNormals(); // This is the STANDARD method that you should call after changing coords.
inline unsigned int id() const {return _id;}
inline int id() const {return _id;}
int idInFile() const {return idInsideFile;}
void setIdInFile(int id) {idInsideFile = id;}
@ -199,7 +199,7 @@ private:
bool visible; // used in rendering; Needed for toggling on and off the meshes
QString fullPathFileName;
QString _label;
unsigned int _id;
int _id;
bool modified;
//this is an id used for meshes that are loaded from files