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:
authorMaxime Curioni <maxime.curioni@gmail.com>2009-10-15 07:32:53 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2009-10-15 07:32:53 +0400
commitdc81204c91aac5ffe5c81051a905afca4aca14d4 (patch)
tree829b5a59a809b47eccb44ecb30f0c23c6008da26 /source/blender/freestyle/intern/application
parent986db26d48a1d30ef9ea53f5da70fab03da6aa68 (diff)
TK's patch to correct the PythonInterpereter
Diffstat (limited to 'source/blender/freestyle/intern/application')
-rwxr-xr-xsource/blender/freestyle/intern/application/Controller.cpp4
-rwxr-xr-xsource/blender/freestyle/intern/application/Controller.h2
2 files changed, 3 insertions, 3 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;
diff --git a/source/blender/freestyle/intern/application/Controller.h b/source/blender/freestyle/intern/application/Controller.h
index 46d08d0c686..99d85434811 100755
--- a/source/blender/freestyle/intern/application/Controller.h
+++ b/source/blender/freestyle/intern/application/Controller.h
@@ -66,7 +66,7 @@ extern "C" {
class Controller
{
public:
- Controller() ;
+ Controller(bContext* C) ;
~Controller() ;
void setView(AppView *iView);