mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031190: Modeling Algorithms - progress indication in GeomPlate is inconsistent
Added ability to display progress indicator in plate commands Added tests
This commit is contained in:
@@ -470,7 +470,7 @@ void GeomPlate_BuildPlateSurface::Perform(const Message_ProgressRange& theProgre
|
||||
//======================================================================
|
||||
// Initial Surface
|
||||
//======================================================================
|
||||
Message_ProgressScope aPS(theProgress, NULL, 100, Standard_True);
|
||||
Message_ProgressScope aPS(theProgress, "Calculating the surface filled", 100, Standard_True);
|
||||
if (!mySurfInitIsGive)
|
||||
{
|
||||
ComputeSurfInit (aPS.Next(10));
|
||||
@@ -1716,7 +1716,8 @@ void GeomPlate_BuildPlateSurface::ComputeSurfInit(const Message_ProgressRange& t
|
||||
//====================================================================
|
||||
// Construction of the surface
|
||||
//====================================================================
|
||||
myPlate.SolveTI(2, ComputeAnisotropie(), theProgress);
|
||||
Message_ProgressScope aPS(theProgress, "ComputeSurfInit", 1);
|
||||
myPlate.SolveTI(2, ComputeAnisotropie(), aPS.Next());
|
||||
if (theProgress.UserBreak())
|
||||
{
|
||||
return;
|
||||
|
Reference in New Issue
Block a user