Blender Git Commit Log

Git Commits -> Revision ce72967

Revision ce72967 by Tamito Kajiyama (master)
June 24, 2014, 04:53 (GMT)
D319: Freestyle Python scripts update.

This revision is meant to update Freestyle's Python scripts to make full usage
of the new features of Python and Freestyle's Python API.

Freestyle's Python scripts are pretty old already, and were never given much
attention. With the 2.7x generation of Blender coming up, this is an excellent
time to update Freestyle's Python scripts, hopefully adding some new features
and achieving some speed improvements on the way.

Main goals:
* use for loops where possible
* general cleanup, making use of more recent python features (generators,
ternary operator, ect.)
* update the documentation on the way (it's lacking atm)


Differential revision: https://developer.blender.org/D319

Author: flokkievids (Folkert de Vries)

Reviewed by: kjym3 (Tamito Kajiyama)

Commit Details:

Full Hash: ce729677db3e9934e2e2c56a9397a868c7546ee9
Parent Commit: f37ec65
Lines Changed: +1310, -1546

5 Modified Paths:

/release/scripts/freestyle/modules/freestyle/chainingiterators.py (+304, -468) (Diff)
/release/scripts/freestyle/modules/freestyle/functions.py (+14, -19) (Diff)
/release/scripts/freestyle/modules/freestyle/predicates.py (+128, -162) (Diff)
/release/scripts/freestyle/modules/freestyle/shaders.py (+585, -875) (Diff)
/release/scripts/freestyle/modules/freestyle/utils.py (+279, -22) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021