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:
authorNathan Letwory <nathan@letworyinteractive.com>2008-09-09 22:03:44 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2008-09-09 22:03:44 +0400
commit449f210c464f95de3b0bcf641ed5ff046d215617 (patch)
treea8cdf95bfcccd1a48733a060b3b1e3a6e445fd7c /source/blender/freestyle/intern/system/PythonInterpreter.h
parent383956574d6cf406fe6463defa55a73d61c5aecf (diff)
* Make sure freestyle branch compiles with SCons/msvc9 on Windows. This was joint operation with mxcurioni :)
Diffstat (limited to 'source/blender/freestyle/intern/system/PythonInterpreter.h')
-rwxr-xr-xsource/blender/freestyle/intern/system/PythonInterpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/system/PythonInterpreter.h b/source/blender/freestyle/intern/system/PythonInterpreter.h
index 719b777f38d..e042eaa2f44 100755
--- a/source/blender/freestyle/intern/system/PythonInterpreter.h
+++ b/source/blender/freestyle/intern/system/PythonInterpreter.h
@@ -115,7 +115,7 @@ private:
for (vector<string>::const_iterator it = pathnames.begin(); it != pathnames.end();++it) {
if ( !it->empty() ) {
cout << "Adding Python path: " << *it << endl;
- cmd = "sys.path.append(\"" + *it + "\")\n";
+ cmd = "sys.path.append(r\"" + *it + "\")\n";
txt_insert_buf(text, const_cast<char*>(cmd.c_str()));
}
}