warnings; current mesh id is not unsigned.

This commit is contained in:
Paolo Cignoni cignoni 2010-09-01 12:54:01 +00:00
parent fe3dbea3fa
commit 5095c1909f
2 changed files with 4 additions and 4 deletions

View File

@ -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)
{

View File

@ -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;