follow modif for IPAL21558 (In Group creation dialog, selection of sub-shapes in OB, viewer and dialog is not well syncronized)

-  virtual void            processOwner( const LightApp_DataOwner* );
+  virtual bool            processOwner( const LightApp_DataOwner* );
This commit is contained in:
eap 2010-02-08 07:14:33 +00:00
parent a3b1bac8a0
commit 172b75f1d3
2 changed files with 3 additions and 2 deletions

View File

@ -86,7 +86,7 @@ void SMESHGUI_Selection::init( const QString& client, LightApp_SelectionMgr* mgr
//function : processOwner
//purpose :
//=======================================================================
void SMESHGUI_Selection::processOwner( const LightApp_DataOwner* ow )
bool SMESHGUI_Selection::processOwner( const LightApp_DataOwner* ow )
{
const LightApp_SVTKDataOwner* owner =
dynamic_cast<const LightApp_SVTKDataOwner*> ( ow );
@ -94,6 +94,7 @@ void SMESHGUI_Selection::processOwner( const LightApp_DataOwner* ow )
myActors.append( dynamic_cast<SMESH_Actor*>( owner->GetActor() ) );
else
myActors.append( 0 );
return true;
}
//=======================================================================

View File

@ -48,7 +48,7 @@ public:
virtual void init( const QString&, LightApp_SelectionMgr* );
virtual QVariant parameter( const int, const QString& ) const;
virtual void processOwner( const LightApp_DataOwner* );
virtual bool processOwner( const LightApp_DataOwner* );
// got from object, not from actor
virtual bool isAutoColor( int ) const;