From: eap Date: Thu, 24 Oct 2019 13:25:50 +0000 (+0300) Subject: Fix a hang-up of UNV import X-Git-Tag: V9_4_0rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c7efc01aed18b26b012989d7ab2effb7a707775;p=modules%2Fsmesh.git Fix a hang-up of UNV import Hang-up at reading an empty data-set at the file end: -1 2477 -1 --- diff --git a/src/DriverUNV/UNV_Utilities.hxx b/src/DriverUNV/UNV_Utilities.hxx index e41ff1ba3..3346f7c92 100644 --- a/src/DriverUNV/UNV_Utilities.hxx +++ b/src/DriverUNV/UNV_Utilities.hxx @@ -79,6 +79,8 @@ namespace UNV { } if (news == ds_name) return true; + + olds.clear(); } // should never end up here return false;