]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on...
authorjfa <jfa@opencascade.com>
Tue, 1 Nov 2005 15:05:39 +0000 (15:05 +0000)
committerjfa <jfa@opencascade.com>
Tue, 1 Nov 2005 15:05:39 +0000 (15:05 +0000)
src/SalomeApp/SalomeApp_SelectionMgr.cxx

index fec8f3a0b9cdae9e5487c4a25bb5c17a412440f4..059b2ccfddde1eefc85f750a68a25de3c9eff1c1 100644 (file)
@@ -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 ) )