]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix a hang-up of UNV import
authoreap <eap@opencascade.com>
Thu, 24 Oct 2019 13:25:50 +0000 (16:25 +0300)
committereap <eap@opencascade.com>
Thu, 24 Oct 2019 13:25:50 +0000 (16:25 +0300)
   Hang-up at reading an empty data-set at the file end:
    -1
  2477
    -1

src/DriverUNV/UNV_Utilities.hxx

index e41ff1ba3961e8c0ecff075ec7e5fe9f83b7e8d3..3346f7c92bb0610eede7a11225cc37be597f9d01 100644 (file)
@@ -79,6 +79,8 @@ namespace UNV {
       }
       if (news == ds_name)
         return true;
+
+      olds.clear();
     }
     // should never end up here
     return false;