diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-05-08 11:25:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-05-08 11:25:26 +0400 |
commit | fcaca6c5bde7c580fa9c7d2445ec5c98418b7cbc (patch) | |
tree | 3f787c6c491c83a096650e2ef398ed29fd97df30 /source/blender/blenloader/BLO_readfile.h | |
parent | 68173d1dc0e4d1b8e205bd614e1dc43aaafd4442 (diff) |
- console drop handler for datablocks & filepaths.
- added BLO_idcode_to_name_plural() for names like meshes, scenes, libraries etc from and ID type.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index df7cd25a6db..d6418f426c8 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -122,6 +122,17 @@ BLO_blendfiledata_free( char* BLO_idcode_to_name( int code); + +/** + * Convert an idcode into a name (plural). + * + * @param code The code to convert. + * @return A static string representing the name of + * the code. + */ + char* +BLO_idcode_to_name_plural( + int code); /** * Convert a name into an idcode (ie. ID_SCE) |