1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0028478: Scope Names Are Swallowed in Message_ProgressSentry Constructors

Tests are added to control output and performance of progress indicator (bugs fclasses bug28478 and perf fclasses progress, respectively).

Implementation of class Draw_ProgressIndicator is improved to update indicator basing on achieved total progress (1% by default) instead of elapsed time since last update.

Method OSD_Chronometer::Restart() is fixed to actually reset the counter.

DRAW command readstl is improved to show progress indicator if configured (by command XProgress).

Description of class Message_ProgressIndicator is updated; code example is added in description of Message_ProgressSentry.
This commit is contained in:
abv
2017-08-18 15:05:34 +03:00
committed by bugmaster
parent 7d3225b51a
commit 6b55f8e398
9 changed files with 147 additions and 63 deletions

View File

@@ -205,7 +205,7 @@ void OSD_Chronometer::Reset ()
//=======================================================================
void OSD_Chronometer::Restart ()
{
Stopped = Standard_True;
Reset();
Start();
}