Freestyle integration into Blender

December 21, 2009

Weekly update December 1-20

Filed under: Update — The dev team @ 12:50 AM

In the last 3 weeks, the Freestyle branch received a few commits and merged a bunch of changes in the trunk up to revision 25149.

A new API function Freestyle.getCurrentScene() has been introduced to allow style modules to get access to the current scene, which contains render data, objects, camera, world and so on.  Note that calling this function makes sense only when it is called from style modules, since otherwise the “current” scene cannot be defined.  The function, if called from within the Python Console for instance, 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


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: