[TechDraw] Simplify return logic

This commit is contained in:
Benjamin Bræstrup Sayoc
2023-04-09 16:34:23 +02:00
committed by WandererFan
parent 15fe52a04b
commit ef5fc4f237
14 changed files with 20 additions and 42 deletions

View File

@@ -425,7 +425,6 @@ Base::Vector3d ShapeExtractor::getLocation3dFromFeat(App::DocumentObject* obj)
bool ShapeExtractor::prefAdd2d()
{
bool result = Preferences::getPreferenceGroup("General")->GetBool("ShowLoose2d", false);
return result;
return Preferences::getPreferenceGroup("General")->GetBool("ShowLoose2d", false);
}