diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-03 15:28:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-03 15:51:29 +0300 |
commit | dced0518d92db056d6e61d35bd4b8fb0be994121 (patch) | |
tree | ebfc2de4c931ebaeb728c59f8702538a8545cbeb /source/blender/editors/armature | |
parent | 057e00e649f0c4c0eee2f0a535d38fdeee3e4bd1 (diff) |
Fix crash selecting envelope bone joint
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/armature_select.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/armature_select.c b/source/blender/editors/armature/armature_select.c index af0483cf1dc..65f845ce34c 100644 --- a/source/blender/editors/armature/armature_select.c +++ b/source/blender/editors/armature/armature_select.c @@ -493,6 +493,8 @@ cache_end: Base *base = NULL; EditBone *ebone; base = ED_armature_base_and_ebone_from_select_buffer(bases, bases_len, hitresult, &ebone); + /* If this fails, selection code is setting the selection ID's incorrectly. */ + BLI_assert(base && ebone); int dep; /* clicks on bone points get advantage */ |