[TD]add preference for progress reporting
This commit is contained in:
committed by
WandererFan
parent
f12846599d
commit
b1dd0bd2d0
@@ -339,3 +339,12 @@ double Preferences::GapASME()
|
||||
double factor = hGrp->GetFloat("GapASME", 6.0);
|
||||
return factor;
|
||||
}
|
||||
|
||||
bool Preferences::reportProgress()
|
||||
{
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter().
|
||||
GetGroup("BaseApp")->GetGroup("Preferences")->
|
||||
GetGroup("Mod/TechDraw/General");
|
||||
bool report = hGrp->GetBool("ReportProgress", false);
|
||||
return report;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user