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>2014-04-11 11:35:46 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-04-11 11:36:49 +0400
commitb7b4f94e782f7e74c5acf0af19dfda07fdd92568 (patch)
tree700bcf546c6a40c01998a07ed7fa60e8bb53e8eb /source/blender/freestyle/intern/system/Interpreter.h
parent52a5d58045ae2cc3eccbb936e87054eeb75967e2 (diff)
Fix for Freestyle Python API modules not found in the Python Console.
Addition of the path to the Freestyle Python API modules to 'sys.path' was delayed until the first Freestyle rendering, so that any import attempt of the modules in the Python Console always failed. Now the update of 'sys.path' is done at Blender start-up. This allows the Freestyle-specific modules to be imported without running Freestyle, facilitating quick interactive testing in the Console.
Diffstat (limited to 'source/blender/freestyle/intern/system/Interpreter.h')
-rw-r--r--source/blender/freestyle/intern/system/Interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/system/Interpreter.h b/source/blender/freestyle/intern/system/Interpreter.h
index e1269f40468..f359fc7577f 100644
--- a/source/blender/freestyle/intern/system/Interpreter.h
+++ b/source/blender/freestyle/intern/system/Interpreter.h
@@ -46,7 +46,7 @@ public:
_language = "Unknown";
}
- virtual ~Interpreter() {}; //soc
+ virtual ~Interpreter() {}
virtual int interpretFile(const string& filename) = 0;