From 128f9730f2c63b85d397e9c09a612e806665c863 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 6 Dec 2009 22:01:04 +0000 Subject: Added Freestyle.getCurrentScene() to give access to the current scene from within style modules. Calling this function is only valid within style modules. Calling it from the Python Interactive Console results in an error as follows: >>> import Freestyle >>> Freestyle.getCurrentScene() Traceback (most recent call last): File "", line 1, in TypeError: current scene not available >>> --- source/blender/freestyle/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/freestyle/SConscript') diff --git a/source/blender/freestyle/SConscript b/source/blender/freestyle/SConscript index 6fd6805bef9..b955365f44e 100644 --- a/source/blender/freestyle/SConscript +++ b/source/blender/freestyle/SConscript @@ -6,7 +6,8 @@ sources = [] defs = [] incs = '' -incs += '../blenkernel ../blenloader ../blenlib ../imbuf ../makesdna ../makesrna ../python ' +incs += '../blenkernel ../blenloader ../blenlib ../imbuf ../makesdna ../makesrna' +incs += '../python ../python/intern' incs += '../render/extern/include ../render/intern/include ../include ../src' incs += ' #/extern/glew/include #/intern/guardedalloc' incs += ' ' + env['BF_PYTHON_INC'] -- cgit v1.2.3