Salome HOME
follow modif for IPAL21558 (In Group creation dialog, selection of sub-shapes in...
authoreap <eap@opencascade.com>
Mon, 8 Feb 2010 07:14:33 +0000 (07:14 +0000)
committereap <eap@opencascade.com>
Mon, 8 Feb 2010 07:14:33 +0000 (07:14 +0000)
-  virtual void            processOwner( const LightApp_DataOwner* );
+  virtual bool            processOwner( const LightApp_DataOwner* );

src/SMESHGUI/SMESHGUI_Selection.cxx
src/SMESHGUI/SMESHGUI_Selection.h

index 8eb024b8d243f1608ef96bf7364b332ad3c84c69..4afc541ee829154f738dc5ecc21c75ca6860e03e 100644 (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;
 }
 
 //=======================================================================
index ce64db54a7411b1d591c5dd88cc93dfcdb2d39a5..11fdbad71f2c637bec3920691e2ce6006674eaa3 100644 (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;