Better API design for making text datablocks after loading.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sun, 2 Jun 2013 17:52:06 +0000 (17:52 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sun, 2 Jun 2013 17:52:06 +0000 (17:52 +0000)
commitd8c2709414ec3b25c2bdaeea57eb26c2ff91f977
tree590b4a6151a11ad2618a834aea2dfc4eafe49761
parent5506ab080d1f03acd9e0e09a43b244b2ccece544
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.
release/scripts/startup/bl_operators/freestyle.py
source/blender/blenkernel/BKE_text.h
source/blender/blenkernel/intern/text.c
source/blender/editors/space_text/text_ops.c
source/blender/makesrna/intern/rna_main_api.c
source/blender/makesrna/intern/rna_text.c