Salome HOME
Compute Progress bar
authoreap <eap@opencascade.com>
Tue, 9 Jul 2013 12:01:11 +0000 (12:01 +0000)
committereap <eap@opencascade.com>
Tue, 9 Jul 2013 12:01:11 +0000 (12:01 +0000)
-    res = 0.5 * netgen::multithread.percent / 100.; // [0., 0.5]
+    res = 0.001 + 0.5 * netgen::multithread.percent / 100.; // [0., 0.5]

src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx

index 6d06c6559d607d8a9e480865fb6197481b147e1e..c3fa281b91dcbe64a3a0c8388abcad7202a48633 100644 (file)
@@ -595,7 +595,7 @@ double NETGENPlugin_NETGEN_3D::GetProgress() const
        ( strncmp( netgen::multithread.task, dlnMeshing, 3 ) == 0 ||
          strncmp( netgen::multithread.task, volMeshing, 3 ) == 0 ))
   {
-    res = 0.5 * netgen::multithread.percent / 100.; // [0., 0.5]
+    res = 0.001 + 0.5 * netgen::multithread.percent / 100.; // [0., 0.5]
   }
   else // different otimizations
   {