*** empty log message ***

This commit is contained in:
asl 2005-06-09 06:48:48 +00:00
parent cca53b9163
commit 5e356c3e2c
2 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,9 @@ bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const
_PTR(SObject) objFather = obj->GetFather(); _PTR(SObject) objFather = obj->GetFather();
_PTR(SComponent) objComponent = obj->GetFatherComponent(); _PTR(SComponent) objComponent = obj->GetFatherComponent();
if( objComponent->ComponentDataType()!="SMESH" )
return false;
int aLevel = obj->Depth() - objComponent->Depth(); int aLevel = obj->Depth() - objComponent->Depth();
// Max level under the component is 4: // Max level under the component is 4:

View File

@ -195,7 +195,7 @@ SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg( SMESHGUI
myViewWindow( SMESH::GetViewWindow( theModule ) ), myViewWindow( SMESH::GetViewWindow( theModule ) ),
mySelector( myViewWindow->GetSelector() ) mySelector( myViewWindow->GetSelector() )
{ {
QPixmap image0( SMESHGUI::resourceMgr()->loadPixmap( "SMESH",tr("ICON_SELECT"))); QPixmap image0( SMESH::GetResourceMgr( mySMESHGUI )->loadPixmap( "SMESH",tr("ICON_SELECT")));
if ( !name ) if ( !name )
setName( "SMESHGUI_CreatePolyhedralVolumeDlg" ); setName( "SMESHGUI_CreatePolyhedralVolumeDlg" );