Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c4bca7b
)
Fix for PAL11028.
author
mzn
<mzn@opencascade.com>
Thu, 29 Jun 2006 13:39:45 +0000
(13:39 +0000)
committer
mzn
<mzn@opencascade.com>
Thu, 29 Jun 2006 13:39:45 +0000
(13:39 +0000)
src/GEOMGUI/GEOMGUI_OCCSelector.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx
b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx
index 0103a5919f826f1f1f9d0b2f173d30aeed7c2a3f..3db11fd4ec7e8ee488025f62845cf8bcdaaf1043 100644
(file)
--- a/
src/GEOMGUI/GEOMGUI_OCCSelector.cxx
+++ b/
src/GEOMGUI/GEOMGUI_OCCSelector.cxx
@@
-39,6
+39,9
@@
#include <SelectMgr_IndexedMapOfOwner.hxx>
#include <NCollection_DataMap.hxx>
#include <SelectMgr_IndexedMapOfOwner.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->() );
if ( owner )
{
const LightApp_DataOwner* owner = dynamic_cast<const LightApp_DataOwner*>( (*itr).operator->() );
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;
}
}
}
}
}
}