Blender Git Commit Log

Git Commits -> Revision 128f973

Revision 128f973 by Tamito Kajiyama (master)
December 6, 2009, 22:01 (GMT)
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
>>>

Commit Details:

Full Hash: 128f9730f2c63b85d397e9c09a612e806665c863
SVN Revision: 25155
Parent Commit: 092e708
Lines Changed: +27, -2

5 Modified Paths:

/source/blender/freestyle/CMakeLists.txt (+2, -1) (Diff)
/source/blender/freestyle/FRS_freestyle.h (+1, -0) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+6, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Freestyle.cpp (+16, -0) (Diff)
/source/blender/freestyle/SConscript (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021