From 8b347fc2cdc67d73255623c5e86994fbba767d64 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 5 Jun 2020 16:04:35 +1000 Subject: Armature: increase maximum delectable bones from 4096 to 8192 Remove BONESEL_NOSEL which isn't needed. Addresses issue raised in T77378. --- source/blender/editors/include/ED_armature.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index 102c0dc0659..ac9eb415b23 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -120,13 +120,11 @@ typedef struct EditBone { } temp; } EditBone; -#define BONESEL_ROOT (1 << 28) -#define BONESEL_TIP (1 << 29) -#define BONESEL_BONE (1 << 30) +#define BONESEL_ROOT (2 << 29u) +#define BONESEL_TIP (1 << 30u) +#define BONESEL_BONE (1 << 31u) #define BONESEL_ANY (BONESEL_TIP | BONESEL_ROOT | BONESEL_BONE) -#define BONESEL_NOSEL (1u << 31u) - /* useful macros */ #define EBONE_VISIBLE(arm, ebone) \ (CHECK_TYPE_INLINE(arm, bArmature *), \ -- cgit v1.2.3