diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-24 19:02:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-24 19:02:46 +0400 |
commit | a8cb91e64a4e46df081a36715dbcc7f98475c047 (patch) | |
tree | 61c7e096c930791e265a4f25f8b66c80b8a1ca13 /source/blender/blenloader/BLO_readfile.h | |
parent | 6a4a8854b5efe78eae0929d796ce4fe03f387983 (diff) |
BLO_library_append_named_part now returns the newly linked/appended datablock.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 6267b819c55..d9594f7da75 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -224,7 +224,7 @@ struct Main* BLO_library_append_begin(const struct bContext *C, BlendHandle** bh * @param flag Options for linking, used for instancing. * @return Boolean, 0 when the datablock could not be found. */ -int BLO_library_append_named_part(const struct bContext *C, struct Main *mainl, BlendHandle** bh, const char *idname, int idcode, short flag); +struct ID *BLO_library_append_named_part(const struct bContext *C, struct Main *mainl, BlendHandle** bh, const char *idname, int idcode, short flag); void BLO_library_append_end(const struct bContext *C, struct Main *mainl, BlendHandle** bh, int idcode, short flag); void *BLO_library_read_struct(struct FileData *fd, struct BHead *bh, const char *blockname); |