Fixing the scale thing right and in the right place

This commit is contained in:
Alexia Death 2009-10-11 13:43:28 +03:00
parent 04bad5609a
commit e5ad18cba5
1 changed files with 4 additions and 4 deletions

View File

@ -68,10 +68,6 @@ gimp_brush_real_transform_size (GimpBrush *brush,
gimp_brush_transform_bounding_box (brush, &matrix, &x, &y, width, height);
/*Transform size can not be less than 1 px*/
width = MAX(1, width);
height = MAX(1, height);
}
/*
@ -641,4 +637,8 @@ gimp_brush_transform_bounding_box (GimpBrush *brush,
*width = (gint) (ceil (MAX (MAX (x1, x2), MAX (x3, x4))) - *x);
*height = (gint) (ceil (MAX (MAX (y1, y2), MAX (y3, y4))) - *y);
/*Transform size can not be less than 1 px*/
*width = MAX(1, *width);
*height = MAX(1, *height);
}