mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 17:14:39 +00:00
warnings; current mesh id is not unsigned.
This commit is contained in:
parent
fe3dbea3fa
commit
5095c1909f
@ -77,7 +77,7 @@ QList<TagBase *> MeshDocument::getMeshTags(int meshId)
|
||||
return meshTags;
|
||||
}
|
||||
|
||||
void MeshDocument::setCurrentMesh(unsigned int i)
|
||||
void MeshDocument::setCurrentMesh( int i)
|
||||
{
|
||||
foreach(MeshModel *mmp, meshList)
|
||||
{
|
||||
@ -93,7 +93,7 @@ void MeshDocument::setCurrentMesh(unsigned int i)
|
||||
}
|
||||
|
||||
//if i is <0 it means that no currentRaster is set
|
||||
void MeshDocument::setCurrentRaster(unsigned int i)
|
||||
void MeshDocument::setCurrentRaster( int i)
|
||||
{
|
||||
if(i<0)
|
||||
{
|
||||
|
||||
@ -396,10 +396,10 @@ public:
|
||||
MeshModel *getMesh(const char *name);
|
||||
|
||||
//set the current mesh to be the one at index i of the mesh list
|
||||
void setCurrentMesh(unsigned int i);
|
||||
void setCurrentMesh( int i);
|
||||
|
||||
//set the current raster to be the one at index i of the raster list
|
||||
void setCurrentRaster(unsigned int i);
|
||||
void setCurrentRaster( int i);
|
||||
|
||||
MeshModel *mm() {
|
||||
return currentMesh;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user