[TD]use local language for ProjectionType

This commit is contained in:
wandererfan
2025-10-23 22:59:05 -04:00
committed by Kacper Donat
parent 5318d5338d
commit bccd93758f
6 changed files with 37 additions and 27 deletions

View File

@@ -32,7 +32,7 @@
#include <Base/Parameter.h>
#include "Preferences.h"
#include "DrawBrokenView.h"
#include "DrawProjGroup.h"
#include "LineGenerator.h"
//getters for parameters used in multiple places.
@@ -151,7 +151,9 @@ bool Preferences::useGlobalDecimals()
int Preferences::projectionAngle()
{
return getPreferenceGroup("General")->GetInt("ProjectionAngle", 0); //First angle
int defaultConvention = (int)DrawProjGroup::ViewProjectionConvention::FirstAngle;
return getPreferenceGroup("General")->GetInt("ProjectionAngle",
defaultConvention);
}
bool Preferences::groupAutoDistribute()