Blender Git Loki

Git Commits -> Revision d8c2709

Revision d8c2709 by Tamito Kajiyama (master)
June 2, 2013, 17:52 (GMT)
Better API design for making text datablocks after loading.

An optional 'internal' argument was added to the bpy.data.texts.load() operator.
The changes in revision 57153 were reverted, so that the is_in_memory and is_dirty
properties of text datablocks are not editable again.

In the C API layer, BKE_text_load_ex() was introduced to allow for optionally
making text datablocks internal after loading.

Commit Details:

Full Hash: d8c2709414ec3b25c2bdaeea57eb26c2ff91f977
SVN Revision: 57200
Parent Commit: 5506ab0
Lines Changed: +22, -18

6 Modified Paths:

/release/scripts/startup/bl_operators/freestyle.py (+1, -5) (Diff)
/source/blender/blenkernel/BKE_text.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/text.c (+13, -3) (Diff)
/source/blender/editors/space_text/text_ops.c (+1, -8) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_text.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021