[TechDraw] Simplify return logic
This commit is contained in:
committed by
WandererFan
parent
5d05acc87e
commit
3794897699
@@ -244,8 +244,7 @@ double ViewProviderDimension::prefWeight() const
|
||||
|
||||
int ViewProviderDimension::prefStandardAndStyle() const
|
||||
{
|
||||
int standardStyle = Preferences::getPreferenceGroup("Dimensions")->GetInt("StandardAndStyle", STD_STYLE_ISO_ORIENTED);
|
||||
return standardStyle;
|
||||
return Preferences::getPreferenceGroup("Dimensions")->GetInt("StandardAndStyle", STD_STYLE_ISO_ORIENTED);
|
||||
}
|
||||
|
||||
void ViewProviderDimension::handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property *prop)
|
||||
|
||||
Reference in New Issue
Block a user