mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-18 10:34:41 +00:00
Now decorations in render menu are consistent when we have tiled windows.
This commit is contained in:
parent
894a946245
commit
ae00cf5911
@ -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<QAction *> TotalRenderList;
|
||||
QList<QAction *> TotalDecoratorsList;
|
||||
////////////////////////////////////////////////////
|
||||
};
|
||||
|
||||
|
||||
@ -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<MeshDecorateInterface *>(plugin);
|
||||
if (iDecorator)
|
||||
addToMenu(iDecorator->actions(), renderMenu, SLOT(applyDecorateMode()));
|
||||
if (iDecorator){
|
||||
TotalDecoratorsList=iDecorator->actions();
|
||||
addToMenu(iDecorator->actions(), renderMenu, SLOT(applyDecorateMode()));
|
||||
}
|
||||
|
||||
MeshRenderInterface *iRender = qobject_cast<MeshRenderInterface *>(plugin);
|
||||
if (iRender)
|
||||
|
||||
@ -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<QAction *,MeshDecorateInterface *> p;
|
||||
foreach (p,*GLA()->iDecoratorsList){p.first->setChecked(true);}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user