Fix for bug IPAL20731 (Clipping item is available in pop-up with multiple selection, but it works for one element only).

This commit is contained in:
mzn 2008-12-23 12:12:49 +00:00
parent b96c803ff5
commit 064a124120

View File

@ -3107,7 +3107,7 @@ void SMESHGUI::initialize( CAM_Application* app )
// Clipping
//-------------------------------------------------
popupMgr()->insert( action( 1134 ), -1, -1 );
popupMgr()->setRule( action( 1134 ), aMeshInVTK + "&& isVisible", true );
popupMgr()->setRule( action( 1134 ), aMeshInVTK + "&& selcount=1 && isVisible", true );
popupMgr()->insert( separator(), -1, -1 );