Limit cascading rotations (rotation on each child of a chain) to Individual Center mode, as I thought I had done at first. :|

This commit is contained in:
Martin Poirier 2009-03-01 15:03:45 +00:00
parent d4adc43fc1
commit 892a667959

@ -646,7 +646,7 @@ static void bone_children_clear_transflag(TransInfo *t, ListBase *lb)
{
bone->flag |= BONE_HINGE_CHILD_TRANSFORM;
}
else if (bone->flag & BONE_TRANSFORM && (t->mode == TFM_ROTATION || t->mode == TFM_TRACKBALL))
else if (bone->flag & BONE_TRANSFORM && (t->mode == TFM_ROTATION || t->mode == TFM_TRACKBALL) && t->around == V3D_LOCAL)
{
bone->flag |= BONE_TRANSFORM_CHILD;
}
@ -3531,7 +3531,7 @@ static void set_trans_object_base_flags(TransInfo *t)
if(parsel)
{
if (t->mode == TFM_ROTATION || t->mode == TFM_TRACKBALL)
if ((t->mode == TFM_ROTATION || t->mode == TFM_TRACKBALL) && t->around == V3D_LOCAL)
{
base->flag |= BA_TRANSFORM_CHILD;
}