[Bf-blender-cvs] [7cc799d03d7] blender2.8: Cleanup: CTX_DATA_BEGIN_FOR_ID no longer needed
Dalai Felinto
noreply at git.blender.org
Fri Oct 19 20:48:26 CEST 2018
Commit: 7cc799d03d72d242961065741548251e0bef2be3
Author: Dalai Felinto
Date: Fri Oct 19 10:15:01 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB7cc799d03d72d242961065741548251e0bef2be3
Cleanup: CTX_DATA_BEGIN_FOR_ID no longer needed
===================================================================
M source/blender/blenkernel/BKE_context.h
===================================================================
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) \
More information about the Bf-blender-cvs
mailing list