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>2009-12-07 01:01:04 +0300
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-12-07 01:01:04 +0300
commit128f9730f2c63b85d397e9c09a612e806665c863 (patch)
treeb730a76c5eeb8c06ec12a08b87f3b9facd098312 /source/blender/freestyle/SConscript
parent092e708ee1ae5bf1dbf070144daf793540380d0e (diff)
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 "<console>", line 1, in <module> TypeError: current scene not available >>>
Diffstat (limited to 'source/blender/freestyle/SConscript')
-rw-r--r--source/blender/freestyle/SConscript3
1 files changed, 2 insertions, 1 deletions
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']