1. firstly it is updated according to object browser visual state of corresponded object
1. if we update it here, action "created OCC view" will show previous shown objects.
action( GEOMOp::OpEditField )->setEnabled( ViewOCC ); // Edit Field
action( GEOMOp::OpMultiTransform )->setEnabled( ViewOCC ); // MENU BLOCKS - MULTI-TRANSFORMATION
-
- if ( ViewOCC )
- {
- SUIT_ViewModel* vmodel = win->getViewManager()->getViewModel();
- myTextTreeWdg->updateVisibility(dynamic_cast<SALOME_View*>(vmodel));
- }
}
void GeometryGUI::windows( QMap<int, int>& mappa ) const