svn merge ^/trunk/blender -r44235:44250
[blender.git] / source / blender / editors / physics / particle_edit.c
index 9929de8e89c1256f2de725ed4d2c80b450ce50cd..5648bc69099ced9c5e1ecd4391c46b67658e09e2 100644 (file)
@@ -3474,7 +3474,7 @@ static void brush_edit_apply(bContext *C, wmOperator *op, PointerRNA *itemptr)
                view3d_operator_needs_opengl(C);
                selected= (short)count_selected_keys(scene, edit);
 
-               dmax = MAX2(fabs(dx), fabs(dy));
+               dmax = maxf(fabsf(dx), fabsf(dy));
                tot_steps = dmax/(0.2f * brush->size) + 1;
 
                dx /= (float)tot_steps;