[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54974] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/application: Removed paths to a browser command and help index that are no longer used in Freestyle for Blender .
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Sat Mar 2 19:31:33 CET 2013
Revision: 54974
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54974
Author: kjym3
Date: 2013-03-02 18:31:32 +0000 (Sat, 02 Mar 2013)
Log Message:
-----------
Removed paths to a browser command and help index that are no longer used in Freestyle for Blender.
Review comment from Campbell.
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.cpp
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.h
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.h
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.cpp 2013-03-02 18:27:50 UTC (rev 54973)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.cpp 2013-03-02 18:31:32 UTC (rev 54974)
@@ -64,13 +64,6 @@
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" +
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.h 2013-03-02 18:27:50 UTC (rev 54973)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/AppConfig.h 2013-03-02 18:31:32 UTC (rev 54974)
@@ -51,8 +51,6 @@
string _PatternsPath;
string _BrushesPath;
string _PythonPath;
- string _BrowserCmd;
- string _HelpIndexPath;
string _EnvMapDir;
string _MapsDir;
string _HomeDir;
@@ -70,8 +68,6 @@
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;}
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp 2013-03-02 18:27:50 UTC (rev 54973)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.cpp 2013-03-02 18:31:32 UTC (rev 54974)
@@ -975,26 +975,6 @@
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)
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.h 2013-03-02 18:27:50 UTC (rev 54973)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/application/Controller.h 2013-03-02 18:31:32 UTC (rev 54974)
@@ -151,10 +151,6 @@
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();
More information about the Bf-blender-cvs
mailing list