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-05-03 07:36:33 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-05-03 07:36:33 +0400
commit9d2525359682521cf38b6a49c62b331f30c04fd2 (patch)
treeaf6793c452b58bb15ca99057463ec149fc25beb2
parentb1afee23dafe31969e5d9e3878386f86426faaca (diff)
Minor code clean-up.
-rw-r--r--source/blender/freestyle/intern/system/PythonInterpreter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/system/PythonInterpreter.h b/source/blender/freestyle/intern/system/PythonInterpreter.h
index b52a539f94a..fbdc9bf3130 100644
--- a/source/blender/freestyle/intern/system/PythonInterpreter.h
+++ b/source/blender/freestyle/intern/system/PythonInterpreter.h
@@ -110,7 +110,8 @@ public:
return 0;
}
- int interpretText(struct Text *text, const string& name) {
+ int interpretText(struct Text *text, const string& name)
+ {
initPath();
ReportList *reports = CTX_wm_reports(_context);
@@ -182,7 +183,6 @@ private:
BKE_text_unlink(&_freestyle_bmain, text);
BKE_libblock_free(&_freestyle_bmain.text, text);
- //PyRun_SimpleString("from Freestyle import *");
_initialized = true;
}