[TD]fix ext line gap preference
This commit is contained in:
committed by
WandererFan
parent
6d54ca4df4
commit
5d93fbe0bb
@@ -320,20 +320,20 @@ std::string Preferences::bitmapFill(void)
|
||||
return result;
|
||||
}
|
||||
|
||||
double Preferences::ISOGap()
|
||||
double Preferences::GapISO()
|
||||
{
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
|
||||
.GetGroup("BaseApp")->GetGroup("Preferences")->
|
||||
GetGroup("Mod/TechDraw/Dimensions");
|
||||
double factor = hGrp->GetFloat("ISOGap", 8.0);
|
||||
double factor = hGrp->GetFloat("GapISO", 8.0);
|
||||
return factor;
|
||||
}
|
||||
|
||||
double Preferences::ASMEGap()
|
||||
double Preferences::GapASME()
|
||||
{
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
|
||||
.GetGroup("BaseApp")->GetGroup("Preferences")->
|
||||
GetGroup("Mod/TechDraw/Dimensions");
|
||||
double factor = hGrp->GetFloat("ASMEGap", 6.0);
|
||||
double factor = hGrp->GetFloat("GapASME", 6.0);
|
||||
return factor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user