diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-25 15:49:35 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-25 15:49:35 +0300 |
commit | 66e1c90d0fd0cbe20041d4ccba5b332635153a1c (patch) | |
tree | 312880d20b256f6d333553433de20efc208c3e0b /source/blender/src/editarmature.c | |
parent | 02a931ac4fef29e2ce14c92b87f46c9ccfd46ccb (diff) |
Bugfix: CTRL+select on a Bone, while in editmode Curve, crashed.
Diffstat (limited to 'source/blender/src/editarmature.c')
-rw-r--r-- | source/blender/src/editarmature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index 0c315e65005..b765e2d5f3b 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -472,7 +472,7 @@ static void *get_bone_from_selectbuffer(Base *base, unsigned int *buffer, short hitresult &= ~(BONESEL_ANY); /* Determine what the current bone is */ - if (G.obedit==NULL) { + if (G.obedit==NULL || base->object!=G.obedit) { /* no singular posemode, so check for correct object */ if(base->selcol == (hitresult & 0xFFFF)) { bone = get_indexed_bone(ob, hitresult); |