mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-17 18:14:38 +00:00
workaround: added RenderMode parameter to MeshColorizePlugin::compute
This commit is contained in:
parent
8a4476baf5
commit
8a04e568ef
@ -23,6 +23,9 @@
|
||||
/****************************************************************************
|
||||
History
|
||||
$Log$
|
||||
Revision 1.20 2005/12/05 11:38:52 ggangemi
|
||||
workaround: added RenderMode parameter to MeshColorizePlugin::compute
|
||||
|
||||
Revision 1.19 2005/12/03 23:50:15 cignoni
|
||||
changed io interface to return a list instead of a vector
|
||||
|
||||
@ -155,7 +158,7 @@ class MeshColorizeInterface
|
||||
{
|
||||
public:
|
||||
//virtual void Compute(const QString &/*mode*/, MeshModel &/*m*/, QWidget * /*parent*/){};
|
||||
virtual void Compute(QAction * /*mode*/, MeshModel &/*m*/, GLArea * /*parent*/){};
|
||||
virtual void Compute(QAction * /*mode*/, MeshModel &/*m*/, RenderMode &/*rm*/, GLArea * /*parent*/){};
|
||||
|
||||
//virtual void Show(const QString &/*mode*/, bool /*show*/, MeshModel &/*m*/, QWidget * /*parent*/) {};
|
||||
virtual void Show(QAction * /*mode*/, bool /*show*/, MeshModel &/*m*/, GLArea * /*parent*/) {};
|
||||
|
||||
@ -24,6 +24,9 @@
|
||||
History
|
||||
|
||||
$Log$
|
||||
Revision 1.20 2005/12/05 11:38:39 ggangemi
|
||||
workaround: added RenderMode parameter to MeshColorizePlugin::compute
|
||||
|
||||
Revision 1.19 2005/12/05 10:27:39 vannini
|
||||
Snapshot in png format instead of ppm
|
||||
|
||||
@ -415,7 +418,7 @@ void MainWindow::applyColorMode()
|
||||
{
|
||||
QAction *action = qobject_cast<QAction *>(sender());
|
||||
MeshColorizeInterface *iColor = qobject_cast<MeshColorizeInterface *>(action->parent());
|
||||
iColor->Compute(action,*(GLA()->mm ), GLA());
|
||||
iColor->Compute(action,*(GLA()->mm ),GLA()->getCurrentRenderMode(), GLA());
|
||||
if (action->isChecked()) {
|
||||
action->setChecked(true);
|
||||
GLA()->log.Log(GLLogStream::Info,"Applied colorize %s",action->text().toLocal8Bit().constData());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user