mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-16 09:34:36 +00:00
updated to the new interface. Please always update everything before attemping a commit!!!
This commit is contained in:
parent
5bcdab57a6
commit
552eb3c54c
@ -39,7 +39,7 @@ const QString DecorateShadowPlugin::Info(QAction *action)
|
||||
return QString();
|
||||
}
|
||||
|
||||
void DecorateShadowPlugin::initGlobalParameterSet(QAction *, FilterParameterSet *parset)
|
||||
void DecorateShadowPlugin::initGlobalParameterSet(QAction *, RichParameterSet *parset)
|
||||
{
|
||||
/*if(parset->findParameter(tr("NoisePath")) != NULL){
|
||||
qDebug("noise path already setted..doing nothing");
|
||||
@ -93,7 +93,7 @@ bool DecorateShadowPlugin::StartDecorate(QAction* action, MeshModel& m, GLArea*
|
||||
return result;
|
||||
}
|
||||
|
||||
void DecorateShadowPlugin::Decorate(QAction *a, MeshModel &m, FilterParameterSet *par, GLArea *gla, QFont /*qf*/)
|
||||
void DecorateShadowPlugin::Decorate(QAction *a, MeshModel &m, RichParameterSet *par, GLArea *gla, QFont /*qf*/)
|
||||
{
|
||||
if(m.visible){
|
||||
this->_decorator->runShader(m, gla);
|
||||
|
||||
@ -79,8 +79,8 @@ public:
|
||||
|
||||
QList<QAction *> actions () const {return actionList;}
|
||||
virtual bool StartDecorate(QAction * /*mode*/, MeshModel &/*m*/, GLArea * /*parent*/);
|
||||
virtual void Decorate(QAction *a, MeshModel &m, FilterParameterSet * /*parent*/ par, GLArea *gla,QFont qf);
|
||||
virtual void initGlobalParameterSet(QAction *, FilterParameterSet * /*globalparam*/);
|
||||
virtual void Decorate(QAction *a, MeshModel &m, RichParameterSet * /*parent*/ par, GLArea *gla,QFont qf);
|
||||
virtual void initGlobalParameterSet(QAction *, RichParameterSet * /*globalparam*/);
|
||||
private:
|
||||
DecorateShader* _decorator;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user