mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 17:14:39 +00:00
dellepiane: code modified to run with new release
This commit is contained in:
parent
024098ac8a
commit
561c2bb86e
@ -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);
|
||||
|
||||
@ -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 * ){};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user