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/CMakeLists.txt
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/CMakeLists.txt')
-rw-r--r--source/blender/freestyle/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/CMakeLists.txt b/source/blender/freestyle/CMakeLists.txt
index 298af7a4803..18f721ccfdc 100644
--- a/source/blender/freestyle/CMakeLists.txt
+++ b/source/blender/freestyle/CMakeLists.txt
@@ -27,7 +27,8 @@
FILE(GLOB_RECURSE SRC *.cpp)
SET(INC
- ../blenkernel ../blenloader ../blenlib ../imbuf ../makesdna ../makesrna ../python
+ ../blenkernel ../blenloader ../blenlib ../imbuf ../makesdna ../makesrna
+ ../python ../python/intern
../render/extern/include ../render/intern/include ../include ../src
../../../extern/glew/include ../../../intern/guardedalloc ../freestyle
${PYTHON_INC}