diff --git a/src/App/MaterialObject.cpp b/src/App/MaterialObject.cpp index 43f0bc189..512e3d618 100644 --- a/src/App/MaterialObject.cpp +++ b/src/App/MaterialObject.cpp @@ -56,4 +56,4 @@ template<> const char* App::MaterialObjectPython::getViewProviderName(void) cons // explicit template instantiation template class AppExport FeaturePythonT; -} \ No newline at end of file +} diff --git a/src/Mod/Fem/MechanicalMaterial.py b/src/Mod/Fem/MechanicalMaterial.py index 6f8e6791e..e06177a35 100644 --- a/src/Mod/Fem/MechanicalMaterial.py +++ b/src/Mod/Fem/MechanicalMaterial.py @@ -261,7 +261,7 @@ class _MechanicalMaterialTaskPanel: use_mat_from_custom_dir = self.fem_preferences.GetBool("UseMaterialsFromCustomDir", True) if use_mat_from_custom_dir: - custom_mat_dir = self.fem_preferences.GetString("CustomMaterialsDir","") + custom_mat_dir = self.fem_preferences.GetString("CustomMaterialsDir", "") self.add_mat_dir(custom_mat_dir, ":/icons/user.svg")