diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-02-26 05:33:04 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-02-26 05:33:04 +0300 |
commit | de574490d23d8c8cf8d3195587a3e3d7b0ba574b (patch) | |
tree | f3745bb44527a796291991e7512c8394b8fc7301 | |
parent | af987c12b533266475f90ca469761a1c7dca9902 (diff) |
[#21338] B-Bone display size crash [27127]
EditBones pretending to be pose bone when doing bone resize need a valid object pointer.
Tsk, who thought this was a good idea...
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 9d0cfdc5ac0..3aef2711370 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -1116,6 +1116,7 @@ static void createTransArmatureVerts(bContext *C, TransInfo *t) td->loc = NULL; td->ext = NULL; + td->ob = t->obedit; td++; } @@ -1131,6 +1132,7 @@ static void createTransArmatureVerts(bContext *C, TransInfo *t) td->loc = NULL; td->ext = NULL; + td->ob = t->obedit; td++; } @@ -1165,6 +1167,7 @@ static void createTransArmatureVerts(bContext *C, TransInfo *t) normalize_m3(td->axismtx); td->ext = NULL; + td->ob = t->obedit; td++; } @@ -1181,6 +1184,7 @@ static void createTransArmatureVerts(bContext *C, TransInfo *t) td->flag= TD_SELECTED; td->ext = NULL; + td->ob = t->obedit; td++; } @@ -1209,6 +1213,7 @@ static void createTransArmatureVerts(bContext *C, TransInfo *t) td->ext = NULL; td->val = NULL; + td->ob = t->obedit; td++; } @@ -1231,6 +1236,7 @@ static void createTransArmatureVerts(bContext *C, TransInfo *t) td->ext = NULL; td->val = NULL; + td->ob = t->obedit; td++; } |