dellepiane: code modified to run with new release

This commit is contained in:
Matteo Dellepiane matteodelle 2016-09-06 13:53:12 +00:00
parent 024098ac8a
commit 561c2bb86e
2 changed files with 6 additions and 6 deletions

View File

@ -68,9 +68,9 @@ void EditMutualCorrsPlugin::mouseReleaseEvent(QMouseEvent * event, MeshModel &/*
cur=event->pos();
}
void EditMutualCorrsPlugin::Decorate(MeshModel &m, GLArea * /*gla*/, QPainter *p)
void EditMutualCorrsPlugin::Decorate(MeshModel &m, GLArea *gla, QPainter *p)
{
if (glArea->md()->rasterList.size() == 0 || !glArea->isRaster())
if (gla->md()->rasterList.size() == 0 || !gla->isRaster())
{
return;
}
@ -195,7 +195,7 @@ void EditMutualCorrsPlugin::Decorate(MeshModel &m, GLArea * /*gla*/, QPainter *p
}
bool EditMutualCorrsPlugin::StartEdit(MeshModel & /*m*/, GLArea *gla)
bool EditMutualCorrsPlugin::StartEdit(MeshModel & /*m*/, GLArea *gla, MLSceneGLSharedDataContext* /*cont*/)
{
qDebug("EDIT_REFERENCING: StartEdit: setup all");
@ -243,7 +243,7 @@ bool EditMutualCorrsPlugin::StartEdit(MeshModel & /*m*/, GLArea *gla)
return true;
}
void EditMutualCorrsPlugin::EndEdit(MeshModel &/*m*/, GLArea * /*gla*/)
void EditMutualCorrsPlugin::EndEdit(MeshModel &/*m*/, GLArea * /*gla*/, MLSceneGLSharedDataContext* /*cont*/)
{
qDebug("EDIT_REFERENCING: EndEdit: cleaning all");
assert(mutualcorrsDialog);

View File

@ -44,8 +44,8 @@ public:
static const QString Info();
bool StartEdit(MeshModel &/*m*/, GLArea * /*parent*/);
void EndEdit(MeshModel &/*m*/, GLArea * /*parent*/);
bool StartEdit(MeshModel &/*m*/, GLArea * /*parent*/, MLSceneGLSharedDataContext* /*cont*/);
void EndEdit(MeshModel &/*m*/, GLArea * /*parent*/, MLSceneGLSharedDataContext* /*cont*/);
void Decorate(MeshModel &/*m*/, GLArea * /*parent*/, QPainter *p);
void Decorate (MeshModel &/*m*/, GLArea * ){};