From: eap Date: Tue, 9 Jul 2013 12:01:11 +0000 (+0000) Subject: Compute Progress bar X-Git-Tag: V7_3_0a1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4ce2ed2428b40c8f3649ddc6ff4640a35f6b75c;p=plugins%2Fnetgenplugin.git Compute Progress bar - res = 0.5 * netgen::multithread.percent / 100.; // [0., 0.5] + res = 0.001 + 0.5 * netgen::multithread.percent / 100.; // [0., 0.5] --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index 6d06c65..c3fa281 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -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 {