From 9d4bf6b37bf5ec29f4c8a3ba00bef555a9fce33f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 17 Aug 2013 04:48:34 +0000 Subject: change CHECK_TYPE_INLINE macro not to add the pointer in the macro. --- source/blender/editors/include/ED_armature.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/include/ED_armature.h') diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index fab179da7bc..454ccbcb9e6 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -94,15 +94,15 @@ typedef struct EditBone { /* useful macros */ #define EBONE_VISIBLE(arm, ebone) ( \ - CHECK_TYPE_INLINE(arm, bArmature), \ - CHECK_TYPE_INLINE(ebone, EditBone), \ + CHECK_TYPE_INLINE(arm, bArmature *), \ + CHECK_TYPE_INLINE(ebone, EditBone *), \ (((arm)->layer & (ebone)->layer) && !((ebone)->flag & BONE_HIDDEN_A)) \ ) #define EBONE_SELECTABLE(arm, ebone) (EBONE_VISIBLE(arm, ebone) && !(ebone->flag & BONE_UNSELECTABLE)) #define EBONE_EDITABLE(ebone) ( \ - CHECK_TYPE_INLINE(ebone, EditBone), \ + CHECK_TYPE_INLINE(ebone, EditBone *), \ (((ebone)->flag & BONE_SELECTED) && !((ebone)->flag & BONE_EDITMODE_LOCKED)) \ ) -- cgit v1.2.3