integrate Quantities into PropertyView and activate preferences again
This commit is contained in:
@@ -1175,9 +1175,9 @@ void Application::initApplication(void)
|
||||
Application::_pcSingleton = new Application(0,0,mConfig);
|
||||
|
||||
// set up Unit system default
|
||||
//ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath
|
||||
// ("User parameter:BaseApp/Preferences/Units");
|
||||
//UnitsApi::setSchema((UnitSystem)hGrp->GetInt("UserSchema",0));
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath
|
||||
("User parameter:BaseApp/Preferences/Units");
|
||||
UnitsApi::setSchema((UnitSystem)hGrp->GetInt("UserSchema",0));
|
||||
|
||||
// starting the init script
|
||||
Interpreter().runString(Base::ScriptFactory().ProduceScript("FreeCADInit"));
|
||||
|
||||
Reference in New Issue
Block a user