Cleanup: transform comments

This commit is contained in:
Germano Cavalcante 2020-02-27 18:51:02 -03:00
parent 30158b6ed0
commit e339c7798e
1 changed files with 1 additions and 2 deletions

View File

@ -789,10 +789,9 @@ void clipUVData(TransInfo *t)
/* ********************* ANIMATION EDITORS (GENERAL) ************************* */
/* In modal, `t->center_global` may not have been inited yet. */
/* In modal, `t->center_global` may not have been setted yet. */
void transform_convert_center_global_v2(TransInfo *t, float r_center[2])
{
/* In modal, `t->center2d` may not have been inited yet. */
if (t->flag & T_MODAL) {
UI_view2d_region_to_view(
(View2D *)t->view, t->mouse.imval[0], t->mouse.imval[1], &r_center[0], &r_center[1]);