diff options
Diffstat (limited to 'source/blender/freestyle/intern/system')
-rw-r--r-- | source/blender/freestyle/intern/system/PythonInterpreter.h | 4 |
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; } |