This commit is contained in:
2011-05-24 04:35:21 +00:00
70 changed files with 540 additions and 350 deletions

View File

@@ -3832,7 +3832,7 @@ void flushTransGraphData(TransInfo *t)
/* if int-values only, truncate to integers */
if (td->flag & TD_INTVALUES)
td2d->loc2d[1]= (float)((int)td2d->loc[1]);
td2d->loc2d[1]= floorf(td2d->loc[1] + 0.5f);
else
td2d->loc2d[1]= td2d->loc[1];
@@ -5070,8 +5070,8 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
/* when running transform non-interactively (operator exec),
* we need to update the pose otherwise no updates get called during
* transform and the auto-ik is not applied. see [#26164] */
struct Object *ob=t->poseobj;
where_is_pose(t->scene, ob);
struct Object *pose_ob=t->poseobj;
where_is_pose(t->scene, pose_ob);
}
/* if target-less IK grabbing, we calculate the pchan transforms and clear flag */