mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-18 23:20:36 +05:00
Fix for PAL11028.
This commit is contained in:
parent
c4bca7bae0
commit
654e26d859
@ -39,6 +39,9 @@
|
|||||||
#include <SelectMgr_IndexedMapOfOwner.hxx>
|
#include <SelectMgr_IndexedMapOfOwner.hxx>
|
||||||
#include <NCollection_DataMap.hxx>
|
#include <NCollection_DataMap.hxx>
|
||||||
|
|
||||||
|
#include <SUIT_Session.h>
|
||||||
|
#include <SalomeApp_Study.h>
|
||||||
|
|
||||||
|
|
||||||
//================================================================
|
//================================================================
|
||||||
// Function : GEOMGUI_OCCSelector
|
// Function : GEOMGUI_OCCSelector
|
||||||
@ -213,7 +216,10 @@ void GEOMGUI_OCCSelector::setSelection( const SUIT_DataOwnerPtrList& aList )
|
|||||||
const LightApp_DataOwner* owner = dynamic_cast<const LightApp_DataOwner*>( (*itr).operator->() );
|
const LightApp_DataOwner* owner = dynamic_cast<const LightApp_DataOwner*>( (*itr).operator->() );
|
||||||
if ( owner )
|
if ( owner )
|
||||||
{
|
{
|
||||||
globalSelMap[owner->entry()] = 1;
|
SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
|
||||||
|
QString anEntry = appStudy->referencedToEntry( owner->entry() );
|
||||||
|
|
||||||
|
globalSelMap[anEntry] = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user