diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-10-19 16:15:01 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-10-19 21:45:34 +0300 |
commit | 7cc799d03d72d242961065741548251e0bef2be3 (patch) | |
tree | b796e31db21373cd078ca1ef67073e3fd5e387c5 /source/blender | |
parent | af58646467ca27d90581eaf2ca063c95fb93fece (diff) |
Cleanup: CTX_DATA_BEGIN_FOR_ID no longer needed
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_context.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_context.h b/source/blender/blenkernel/BKE_context.h index 89d2aef7152..9379853af29 100644 --- a/source/blender/blenkernel/BKE_context.h +++ b/source/blender/blenkernel/BKE_context.h @@ -244,12 +244,6 @@ bool CTX_data_dir(const char *member); CTX_DATA_BEGIN(C, Type, instance, member) \ Type_id instance_id = ctx_link->ptr.id.data; \ -#define CTX_DATA_BEGIN_FOR_ID(C, Type, instance, member, instance_id) \ - CTX_DATA_BEGIN(C, Type, instance, member) \ - if (ctx_link->ptr.id.data != (instance_id)) { \ - continue; \ - } - int ctx_data_list_count(const bContext *C, int (*func)(const bContext *, ListBase *)); #define CTX_DATA_COUNT(C, member) \ |