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/blenkernel/BKE_armature.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/BKE_armature.h') diff --git a/source/blender/blenkernel/BKE_armature.h b/source/blender/blenkernel/BKE_armature.h index fb9e9f4e691..9bdc5b0fc8f 100644 --- a/source/blender/blenkernel/BKE_armature.h +++ b/source/blender/blenkernel/BKE_armature.h @@ -132,8 +132,8 @@ Mat4 *b_bone_spline_setup(struct bPoseChannel *pchan, int rest); /* like EBONE_VISIBLE */ #define PBONE_VISIBLE(arm, bone) ( \ - CHECK_TYPE_INLINE(arm, bArmature), \ - CHECK_TYPE_INLINE(bone, Bone), \ + CHECK_TYPE_INLINE(arm, bArmature *), \ + CHECK_TYPE_INLINE(bone, Bone *), \ (((bone)->layer & (arm)->layer) && !((bone)->flag & BONE_HIDDEN_P)) \ ) -- cgit v1.2.3