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:
Ton Roosendaal 2005-08-08 09:58:57 +00:00
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);