Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-02 22:31:32 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-02 22:31:32 +0400
commit6645551aedf6c6e61094f8a5eb70efec89d4e19b (patch)
treee0983c3ea6367fd898cb2244f416d828ac287f25 /source/blender/freestyle/intern
parent3b953c39c3f20e0e0285e29358ed57ee2d6a9038 (diff)
Removed paths to a browser command and help index that are no longer used in Freestyle for Blender.
Review comment from Campbell.
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r--source/blender/freestyle/intern/application/AppConfig.cpp7
-rw-r--r--source/blender/freestyle/intern/application/AppConfig.h4
-rw-r--r--source/blender/freestyle/intern/application/Controller.cpp20
-rw-r--r--source/blender/freestyle/intern/application/Controller.h4
4 files changed, 0 insertions, 35 deletions
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();