Removed paths to a browser command and help index that are no longer used in Freestyle for Blender.

Review comment from Campbell.
This commit is contained in:
Tamito Kajiyama
2013-03-02 18:31:32 +00:00
parent 3b953c39c3
commit 6645551aed
4 changed files with 0 additions and 35 deletions
@@ -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" +
@@ -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;}
@@ -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)
@@ -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();