[#19859] Lasso select causing Blender to crash
missing null check in own commit
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user