Salome HOME
IPAL8941: enable Animation with Plot3D
[modules/visu.git] / src / VISUGUI / VisuGUI.cxx
index 81ae90a26c87cd1519670eb2546c724c4d7a4e8b..13b4a38a4557f114017b2c07f7b889620ef4e3e8 100644 (file)
@@ -2481,11 +2481,11 @@ createPopupMenus()
   mgr->setRule( action( VISU_ISO_SURFACES ), aRule, true );
   mgr->setRule( action( VISU_CUT_PLANES ), aRule, true );
   mgr->setRule( action( VISU_CUT_LINES ), aRule, true );
+  mgr->setRule( action( VISU_PLOT_3D ), aRule, true );
   aRule += " and nbComponents>1";
   mgr->setRule( action( VISU_DEFORMED_SHAPE ), aRule, true );
   mgr->setRule( action( VISU_VECTORS ), aRule, true );
   mgr->setRule( action( VISU_STREAM_LINES ), aRule, true );
-  mgr->setRule( action( VISU_PLOT_3D ), aRule, true );
 
   // table commands
   aRule = aSel_One_ObjBr + " and type='VISU::TTABLE'";