diff --git a/source/blender/freestyle/intern/application/AppConfig.cpp b/source/blender/freestyle/intern/application/AppConfig.cpp index f687117c762..c8ebc45d7eb 100644 --- a/source/blender/freestyle/intern/application/AppConfig.cpp +++ b/source/blender/freestyle/intern/application/AppConfig.cpp @@ -64,13 +64,6 @@ void Path::setRootDir(const string& iRootDir) if (getenv("PYTHONPATH")) { _PythonPath += string(PATH_SEP.c_str()) + string(getenv("PYTHONPATH")); } -#ifdef WIN32 - _BrowserCmd = "C:\\Program Files\\Internet Explorer\\iexplore.exe %s"; -#else - _BrowserCmd = "mozilla %s"; -#endif - _HelpIndexPath = _ProjectDir + string(DIR_SEP.c_str()) + "doc" + string(DIR_SEP.c_str()) + "html" + - string(DIR_SEP.c_str()) + "index.html"; _EnvMapDir = _ProjectDir + string(DIR_SEP.c_str()) + "data" + string(DIR_SEP.c_str()) + "env_map" + string(DIR_SEP.c_str()); _MapsDir = _ProjectDir + string(DIR_SEP.c_str()) + "data" + string(DIR_SEP.c_str()) + "maps" + diff --git a/source/blender/freestyle/intern/application/AppConfig.h b/source/blender/freestyle/intern/application/AppConfig.h index ebd6f85db70..9bd5506d94c 100644 --- a/source/blender/freestyle/intern/application/AppConfig.h +++ b/source/blender/freestyle/intern/application/AppConfig.h @@ -51,8 +51,6 @@ protected: string _PatternsPath; string _BrushesPath; string _PythonPath; - string _BrowserCmd; - string _HelpIndexPath; string _EnvMapDir; string _MapsDir; string _HomeDir; @@ -70,8 +68,6 @@ public: const string& getPatternsPath() const {return _PatternsPath;} const string& getBrushesPath() const {return _BrushesPath;} const string& getPythonPath() const {return _PythonPath;} - const string& getBrowserCmd() const {return _BrowserCmd;} - const string& getHelpIndexpath() const {return _HelpIndexPath;} const string& getEnvMapDir() const {return _EnvMapDir;} const string& getMapsDir() const {return _MapsDir;} const string& getHomeDir() const {return _HomeDir;} diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp index 662686c2524..b71f716459c 100644 --- a/source/blender/freestyle/intern/application/Controller.cpp +++ b/source/blender/freestyle/intern/application/Controller.cpp @@ -975,26 +975,6 @@ string Controller::getModulesDir() const return dir; } -void Controller::setHelpIndex(const string& index) -{ - _help_index = index; -} - -string Controller::getHelpIndex() const -{ - return _help_index; -} - -void Controller::setBrowserCmd(const string& cmd) -{ - _browser_cmd = cmd; -} - -string Controller::getBrowserCmd() const -{ - return _browser_cmd; -} - void Controller::resetInterpreter() { if (_inter) diff --git a/source/blender/freestyle/intern/application/Controller.h b/source/blender/freestyle/intern/application/Controller.h index 475d9c6efd3..b89470e417f 100644 --- a/source/blender/freestyle/intern/application/Controller.h +++ b/source/blender/freestyle/intern/application/Controller.h @@ -151,10 +151,6 @@ public: string getModelsDir() const; void setModulesDir(const string& dir); string getModulesDir() const; - void setHelpIndex(const string& dir); - string getHelpIndex() const; - void setBrowserCmd(const string& cmd); - string getBrowserCmd() const; void resetInterpreter();