diff --git a/src/meshlab/mainwindow.h b/src/meshlab/mainwindow.h index 7aa6cd4f0..69e8faeaa 100644 --- a/src/meshlab/mainwindow.h +++ b/src/meshlab/mainwindow.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log$ +Revision 1.50 2005/12/19 19:03:06 davide_portelli +Now decorations in render menu are consistent when we have tiled windows. + Revision 1.49 2005/12/15 01:13:02 buzzelli common code of open and save methods factorized into LoadKnownFilters method @@ -237,7 +240,7 @@ private: QAction *aboutAct; QAction *aboutPluginsAct; //////////////////////////////////////////////////// - vector TotalRenderList; + QList TotalDecoratorsList; //////////////////////////////////////////////////// }; diff --git a/src/meshlab/mainwindow_Init.cpp b/src/meshlab/mainwindow_Init.cpp index f4b4380c0..926ebca63 100644 --- a/src/meshlab/mainwindow_Init.cpp +++ b/src/meshlab/mainwindow_Init.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.31 2005/12/19 19:03:31 davide_portelli +Now decorations in render menu are consistent when we have tiled windows. + Revision 1.30 2005/12/14 22:24:14 cignoni Added preliminary supprot for editing/selection plugins. @@ -596,8 +599,10 @@ void MainWindow::loadPlugins() meshIOPlugins.push_back(iIO); MeshDecorateInterface *iDecorator = qobject_cast(plugin); - if (iDecorator) - addToMenu(iDecorator->actions(), renderMenu, SLOT(applyDecorateMode())); + if (iDecorator){ + TotalDecoratorsList=iDecorator->actions(); + addToMenu(iDecorator->actions(), renderMenu, SLOT(applyDecorateMode())); + } MeshRenderInterface *iRender = qobject_cast(plugin); if (iRender) diff --git a/src/meshlab/mainwindow_RunTime.cpp b/src/meshlab/mainwindow_RunTime.cpp index e8422d459..475181b3b 100644 --- a/src/meshlab/mainwindow_RunTime.cpp +++ b/src/meshlab/mainwindow_RunTime.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.51 2005/12/19 19:05:53 davide_portelli +Now decorations in render menu are consistent when we have tiled windows. + Revision 1.50 2005/12/19 18:08:25 fmazzant bug-fix @@ -447,7 +450,7 @@ void MainWindow::updateMenus() setFancyLightingAct->setChecked(rm.fancyLighting); setDoubleLightingAct->setChecked(rm.doubleSideLighting); - foreach (QAction *a,TotalRenderList){a->setChecked(false);} + foreach (QAction *a,TotalDecoratorsList){a->setChecked(false);} if(GLA()->iDecoratorsList){ pair p; foreach (p,*GLA()->iDecoratorsList){p.first->setChecked(true);}