Commit 1a68216f authored by Jan Möbius's avatar Jan Möbius

Fixed view menu updates for global viewer states

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6690 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 46ce9692
......@@ -276,11 +276,6 @@ public:
/// Setup the main menubar
void setupMenuBar();
private slots:
/// Update the menubat
void slotUpdateMenuBar();
/** @} */
//===========================================================================
......@@ -567,6 +562,18 @@ public:
QAction* perspectiveProjectionAction_;
QAction* orthogonalProjectionAction_;
/// Action to globally set Animation
QAction* globalAnimationAction_;
/// Action to globally set backface culling
QAction* globalBackfaceCullingAction_;
/// Action to globally set Two-Sided lighting
QAction* globalTwosidedLightingAction_;
/// Action to globally set multisampling
QAction* globalMultisamplingAction_;
int activeDrawModes_;
......
This diff is collapsed.
......@@ -178,6 +178,8 @@ void CoreWidget::slotLocalChangeAnimation(bool _animation){
void CoreWidget::slotGlobalChangeBackFaceCulling(bool _backFaceCulling){
for ( uint i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i )
PluginFunctions::viewerProperties(i).backFaceCulling(_backFaceCulling);
std::cerr << " Backface Culling " << std::endl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment