mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
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:
parent
a3b1bac8a0
commit
172b75f1d3
@ -86,7 +86,7 @@ void SMESHGUI_Selection::init( const QString& client, LightApp_SelectionMgr* mgr
|
|||||||
//function : processOwner
|
//function : processOwner
|
||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
void SMESHGUI_Selection::processOwner( const LightApp_DataOwner* ow )
|
bool SMESHGUI_Selection::processOwner( const LightApp_DataOwner* ow )
|
||||||
{
|
{
|
||||||
const LightApp_SVTKDataOwner* owner =
|
const LightApp_SVTKDataOwner* owner =
|
||||||
dynamic_cast<const LightApp_SVTKDataOwner*> ( ow );
|
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() ) );
|
myActors.append( dynamic_cast<SMESH_Actor*>( owner->GetActor() ) );
|
||||||
else
|
else
|
||||||
myActors.append( 0 );
|
myActors.append( 0 );
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -48,7 +48,7 @@ public:
|
|||||||
|
|
||||||
virtual void init( const QString&, LightApp_SelectionMgr* );
|
virtual void init( const QString&, LightApp_SelectionMgr* );
|
||||||
virtual QVariant parameter( const int, const QString& ) const;
|
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
|
// got from object, not from actor
|
||||||
virtual bool isAutoColor( int ) const;
|
virtual bool isAutoColor( int ) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user