From 459d12381c2d2769f096ca0044d4ed20b8e18f50 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 1 Nov 2005 15:05:39 +0000 Subject: [PATCH] Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on Preview) --- src/SalomeApp/SalomeApp_SelectionMgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_SelectionMgr.cxx b/src/SalomeApp/SalomeApp_SelectionMgr.cxx index fec8f3a0b..059b2ccfd 100644 --- a/src/SalomeApp/SalomeApp_SelectionMgr.cxx +++ b/src/SalomeApp/SalomeApp_SelectionMgr.cxx @@ -68,7 +68,7 @@ void SalomeApp_SelectionMgr::selectedObjects( SALOME_ListIO& theList, const QStr continue; _PTR(SObject) obj = dstudy->FindObjectID( owner->entry() ); - if( convertReferences && obj->ReferencedObject( refobj ) ) + if( obj && convertReferences && obj->ReferencedObject( refobj ) ) { entry = refobj->GetID(); if( !entryMap.contains( entry ) ) -- 2.39.2