]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
23034: EDF GEOM: Information after a transformation without copy
authoreap <eap@opencascade.com>
Thu, 30 Apr 2015 11:57:25 +0000 (14:57 +0300)
committereap <eap@opencascade.com>
Thu, 30 Apr 2015 11:57:25 +0000 (14:57 +0300)
   Show "(No info available)"

src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx

index f77dc535c299c2529f689afb05d5233be2409c1e..5c3681e28df6f1fa778bac57d987225ebce38c1c 100644 (file)
@@ -106,7 +106,7 @@ void GEOMGUI_CreationInfoWdg::setInfo( GEOM::CreationInformationSeq& info )
 
   try
   {
-    if ( &info )
+    if ( &info && info.length() > 0 )
     {
       SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
       for ( int j = 0, nb = info.length(); j < nb; ++j )