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]
This commit is contained in:
eap 2013-07-09 12:01:11 +00:00
parent 672042c687
commit f4ce2ed242

View 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
{