Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2017-01-04 02:47:28 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-01-04 02:47:28 +0300
commit18ae49948fad586a76a824d1b74436a46a603850 (patch)
tree7f3837f8ac78d22a64df53a0b48c149d87f27adc /source/blender/blenkernel/BKE_idcode.h
parent7cda7bd22ef6e18a9cd2b0cbe145a483d6a9c423 (diff)
Make workspaces appendable, but non-linkable
This basically adds support for data-blocks that are either linkable, appendable or both and uses it for making workspaces appendable only. Note that non-appendable but linkable data-blocks aren't used currently and poorly tested, added note about this in code.
Diffstat (limited to 'source/blender/blenkernel/BKE_idcode.h')
-rw-r--r--source/blender/blenkernel/BKE_idcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_idcode.h b/source/blender/blenkernel/BKE_idcode.h
index 964a49435f1..05912efbdfa 100644
--- a/source/blender/blenkernel/BKE_idcode.h
+++ b/source/blender/blenkernel/BKE_idcode.h
@@ -37,6 +37,7 @@ const char *BKE_idcode_to_name_plural(short idcode);
const char *BKE_idcode_to_translation_context(short idcode);
short BKE_idcode_from_name(const char *name);
bool BKE_idcode_is_linkable(short idcode);
+bool BKE_idcode_is_appendable(short idcode);
bool BKE_idcode_is_valid(short idcode);
int BKE_idcode_to_idfilter(const short idcode);