mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-16 17:44:36 +00:00
harmless warnings
This commit is contained in:
parent
ecf2ae503b
commit
e4358db273
@ -1571,7 +1571,7 @@ void GLArea::setView()
|
||||
gluLookAt(0, 0, cameraDist,0, 0, 0, 0, 1, 0);
|
||||
}
|
||||
|
||||
void GLArea::setTiledView(GLdouble fovY, float viewRatio, float fAspect, GLdouble zNear, GLdouble zFar, float cameraDist)
|
||||
void GLArea::setTiledView(GLdouble fovY, float viewRatio, float fAspect, GLdouble zNear, GLdouble zFar, float /*cameraDist*/)
|
||||
{
|
||||
makeCurrent();
|
||||
if(fovY<=5)
|
||||
@ -2342,12 +2342,12 @@ void GLArea::completeUpdateRequested()
|
||||
// return NULL;
|
||||
//}
|
||||
|
||||
void GLArea::meshAdded( int index)
|
||||
void GLArea::meshAdded( int /*index*/)
|
||||
{
|
||||
emit updateLayerTable();
|
||||
}
|
||||
|
||||
void GLArea::meshRemoved( int index )
|
||||
void GLArea::meshRemoved( int /*index*/ )
|
||||
{
|
||||
emit updateLayerTable();
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "ml_selection_buffers.h"
|
||||
|
||||
MLSelectionBuffers::MLSelectionBuffers(MeshModel& m,unsigned int primitivebatch)
|
||||
:_m(m),_primitivebatch(primitivebatch),_selmap(2),_lock()
|
||||
:_lock(),_m(m),_primitivebatch(primitivebatch),_selmap(2)
|
||||
{
|
||||
|
||||
}
|
||||
@ -25,8 +25,7 @@ void MLSelectionBuffers::updateBuffer(ML_SELECTION_TYPE selbuf)
|
||||
{
|
||||
QWriteLocker locker(&_lock);
|
||||
|
||||
size_t privchunksize;
|
||||
size_t toalloc = 0;
|
||||
size_t privchunksize=0;
|
||||
if (selbuf == ML_PERVERT_SEL)
|
||||
{
|
||||
_m.cm.svn = 0;
|
||||
@ -103,8 +102,6 @@ void MLSelectionBuffers::updateBuffer(ML_SELECTION_TYPE selbuf)
|
||||
++_m.cm.svn;
|
||||
++selectedperchunk;
|
||||
}
|
||||
size_t pp = sizeof(vcg::Point3f);
|
||||
|
||||
if (((vertind == _m.cm.VN() - 1) && (selectedperchunk > 0)) || ((chunkindex == privchunksize - 1) && (selectedperchunk == privchunksize)))
|
||||
{
|
||||
_selmap[ML_PERVERT_SEL].push_back(0);
|
||||
|
||||
@ -19,7 +19,7 @@ static void updateRenderingData(MainWindow* curmwi, MeshModel* curmodel)
|
||||
}
|
||||
|
||||
MeshlabStdDialog::MeshlabStdDialog(QWidget *p)
|
||||
:QDockWidget(QString("Plugin"), p), curmask(MeshModel::MM_UNKNOWN), previewCB(NULL)
|
||||
:QDockWidget(QString("Plugin"), p), previewCB(NULL), curmask(MeshModel::MM_UNKNOWN)
|
||||
{
|
||||
qf = NULL;
|
||||
stdParFrame = NULL;
|
||||
@ -306,4 +306,4 @@ MeshlabStdDialog::~MeshlabStdDialog()
|
||||
{
|
||||
delete stdParFrame;
|
||||
delete previewCB;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user