]> SALOME platform Git repositories - modules/geom.git/commit
Salome HOME
NPAL15983 (EDF PAL 413: Bug when displaying empty groups)
authoreap <eap@opencascade.com>
Fri, 18 May 2007 13:47:36 +0000 (13:47 +0000)
committereap <eap@opencascade.com>
Fri, 18 May 2007 13:47:36 +0000 (13:47 +0000)
commit645aebdeb7ee9d7c4679e7dfc1031830b09ec1fe
tree8a89d54f3f554861fbf8d57412c8fa95fa4ebda7
parent8dbde85ddca6ff3b5e78a7eae9f196ce6f910e3c
NPAL15983 (EDF PAL 413: Bug when displaying empty groups)
   /* Case of only one subshape */
-  if (list->length() == 1) {
+  if (list->length() == 1 && list[0] > 0) {
     S = anIndices.FindKey(list[0]);
   }
src/GEOMClient/GEOM_Client.cxx