diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-03 05:11:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-03 13:50:20 +0300 |
commit | 3e5414e490a67adecb7364a53d09767d718c9025 (patch) | |
tree | 02c152346248b98cca2b9d84fee5c815e9c8e887 /source/blender/python/intern/bpy_library.h | |
parent | b02b8a3c003be496fc685a05f5c469b65743006a (diff) |
PyAPI: API for selectively writing data-blocks
Useful for writing asset-libraries to a file, eg.
`bpy.data.libraries.write(filepath, datablocks, relative_remap=False, fake_user=False)`
Diffstat (limited to 'source/blender/python/intern/bpy_library.h')
-rw-r--r-- | source/blender/python/intern/bpy_library.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_library.h b/source/blender/python/intern/bpy_library.h index 1b68007b704..c381a4206fa 100644 --- a/source/blender/python/intern/bpy_library.h +++ b/source/blender/python/intern/bpy_library.h @@ -27,6 +27,7 @@ #ifndef __BPY_LIBRARY_H__ #define __BPY_LIBRARY_H__ -int BPY_library_module(PyObject *); +int BPY_library_load_module(PyObject *mod_par); +int BPY_library_write_module(PyObject *mod_par); #endif /* __BPY_LIBRARY_H__ */ |