mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031763: Foundation Classes - reporting of progress within parallel algorithms
Classes Message_ProgressRange and Message_ProgressScope are improved to store start point of the range. Method Message_ProgressScope::Value() is improved to compute the value in the current scope from the actual current value of the global progress. Description of Message_ProgressScope class is improved. Off-topic: - method Message_ProgressScope::Relieve() is renamed to Close() for semantic consistency - article in Upgrade Guide is revised and corrected
This commit is contained in:
@@ -202,7 +202,7 @@ Standard_Boolean Draw_ProgressIndicator::UserBreak()
|
||||
{
|
||||
OSD::ControlBreak();
|
||||
}
|
||||
catch (OSD_Exception_CTRL_BREAK)
|
||||
catch (const OSD_Exception_CTRL_BREAK&)
|
||||
{
|
||||
myBreak = Standard_True;
|
||||
}
|
||||
|
Reference in New Issue
Block a user