[#19859] Lasso select causing Blender to crash

missing null check in own commit
This commit is contained in:
Campbell Barton 2009-11-11 09:58:24 +00:00
parent 5816912dc1
commit 5c69f19904

@ -363,7 +363,7 @@ static void do_lasso_select_pose(ViewContext *vc, short mcords[][2], short moves
{
bArmature *arm= ob->data;
if((arm->act_bone->flag & BONE_SELECTED)==0) {
if(arm->act_bone && (arm->act_bone->flag & BONE_SELECTED)==0) {
arm->act_bone= NULL;
}
}