]> SALOME platform Git repositories - modules/gui.git/blobdiff - src/OCCViewer/OCCViewer_ViewFrame.cxx
Salome HOME
Properly process show/hide static trihedron in OCC view
[modules/gui.git] / src / OCCViewer / OCCViewer_ViewFrame.cxx
index cf6d3dd8d39cfc50765c374265ea82a984a6e0eb..cc20fd47394a9f9160a871aae4e57df86719a88a 100644 (file)
@@ -423,6 +423,17 @@ Qtx::BackgroundData OCCViewer_ViewFrame::background() const
   return getView(MAIN_VIEW)->background(); 
 }
 
+void OCCViewer_ViewFrame::showStaticTrihedron( bool on )
+{
+  if ( myPopupRequestedView )
+    myPopupRequestedView->showStaticTrihedron( on ); 
+  else {
+    foreach ( OCCViewer_ViewWindow* aView, myViews ) {
+      aView->showStaticTrihedron( on ); 
+    }
+  }
+}
+
 QImage OCCViewer_ViewFrame::dumpView()
 {
   foreach (OCCViewer_ViewWindow* aView, myViews) {