Revert "Fix T42222"

This reverts commit 507712db3f.

Error was quite an old compiler, which had further warnings/errors.

Old compilers can just have this defined in BLI_math
This commit is contained in:
2014-10-29 11:10:07 +01:00
parent 6d1c0260bb
commit d73e3f71d4

View File

@@ -1726,7 +1726,7 @@ static void scroller_activate_apply(bContext *C, wmOperator *op)
temp = vsm->fac * vsm->delta;
/* round to pixel */
temp = floorf(temp / vsm->fac_round + 0.5f) * vsm->fac_round;
temp = roundf(temp / vsm->fac_round) * vsm->fac_round;
/* type of movement */
switch (vsm->zone) {