X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_SelectionMgr.cpp;h=481db73366a3a4f06714ef767a03a414fbefd2fa;hb=db1bdf5481826c868b2c92c6cbc9afe8c5ad337c;hp=dc5db4e2b604334dac71bceb7ca3f5a1a7e7babd;hpb=b2fed461882656495c33d4fec61e2ec22d9cf80a;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_SelectionMgr.cpp b/src/XGUI/XGUI_SelectionMgr.cpp index dc5db4e2b..481db7336 100644 --- a/src/XGUI/XGUI_SelectionMgr.cpp +++ b/src/XGUI/XGUI_SelectionMgr.cpp @@ -61,7 +61,7 @@ void XGUI_SelectionMgr::onViewerSelection() Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext(); for (aContext->InitSelected(); aContext->MoreSelected(); aContext->NextSelected()) { Handle(AIS_InteractiveObject) anIO = aContext->SelectedInteractive(); - ResultPtr aResult = myWorkshop->displayer()->getResult(anIO); + ObjectPtr aResult = myWorkshop->displayer()->getObject(anIO); if (aResult) aFeatures.append(aResult); }