Blender Git Loki

Git Commits -> Revision 1e8d69a

Revision 1e8d69a by Tamito Kajiyama (master)
April 3, 2013, 00:00 (GMT)
Use of text datablocks for storing Python style modules.
Suggested by Brecht Van Lommel and Campbell Barton through code review comments.

Previously style modules were external Python script files whose absolute paths
were kept in .blend files. Now style modules are stored in .blend files as text
datablocks.

Style modules are configured in three steps:
1. Open an external style module file (or create a new text datablock) in the
Text Editor in Blender.
2. Add a style module to the list of style modules (by pressing the "Add" button)
in the Render Layer properties window.
3. Click the name entry and select the style module from the drop-down menu.

Commit Details:

Full Hash: 1e8d69ac7468670853a5714ebb2fc0d7c3cbf1be
SVN Revision: 55741
Parent Commit: 8709d4b
Lines Changed: +64, -23

10 Modified Paths:

/release/scripts/startup/bl_ui/properties_freestyle.py (+1, -1) (Diff)
/source/blender/blenkernel/intern/freestyle.c (+2, -6) (Diff)
/source/blender/blenkernel/intern/text.c (+13, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+26, -0) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h (+0, -6) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+8, -4) (Diff)
/source/blender/freestyle/intern/stroke/Canvas.cpp (+1, -3) (Diff)
/source/blender/freestyle/intern/stroke/StyleModule.h (+0, -2) (Diff)
/source/blender/makesdna/DNA_freestyle_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021