diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2009-10-15 07:32:53 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2009-10-15 07:32:53 +0400 |
commit | dc81204c91aac5ffe5c81051a905afca4aca14d4 (patch) | |
tree | 829b5a59a809b47eccb44ecb30f0c23c6008da26 /source/blender/freestyle/intern/application/Controller.cpp | |
parent | 986db26d48a1d30ef9ea53f5da70fab03da6aa68 (diff) |
TK's patch to correct the PythonInterpereter
Diffstat (limited to 'source/blender/freestyle/intern/application/Controller.cpp')
-rwxr-xr-x | source/blender/freestyle/intern/application/Controller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp index 89c0bde2cf5..6b7f095c6ac 100755 --- a/source/blender/freestyle/intern/application/Controller.cpp +++ b/source/blender/freestyle/intern/application/Controller.cpp @@ -71,7 +71,7 @@ extern "C" { -Controller::Controller() +Controller::Controller(bContext* C) { const string sep(Config::DIR_SEP.c_str()); @@ -108,7 +108,7 @@ Controller::Controller() _Canvas = new AppCanvas; - _inter = new PythonInterpreter; + _inter = new PythonInterpreter(C); _EnableQI = true; _ComputeRidges = true; _ComputeSteerableViewMap = false; |