forked from bartvdbraak/blender
Bug fix #2894
Using Lkey (select connected) in Armature editmode could crash, it didn't correctly check for drawing non selectable items (have index -1).
This commit is contained in:
parent
b228c90e24
commit
8ef6df8d2d
@ -461,7 +461,7 @@ static void *get_bone_from_selectbuffer(Base *base, unsigned int *buffer, short
|
||||
|
||||
for (i=0; i< hits; i++){
|
||||
hitresult = buffer[3+(i*4)];
|
||||
if (hitresult & BONESEL_ANY){
|
||||
if (!(hitresult & BONESEL_NOSEL)) {
|
||||
|
||||
/* Determine which points are selected */
|
||||
hitresult &= ~(BONESEL_ANY);
|
||||
|
Loading…
Reference in New Issue
Block a user