paint-volumes: remove alignment constraint for _set_origin

The implementation for clutter_paint_volume_set_origin can cope with
volumes that are not axis aligned so this remove the is_axis_aligned
assertion.
This commit is contained in:
Robert Bragg 2011-06-16 12:31:50 +01:00
parent 30eb3be781
commit 394512b274

View File

@ -190,7 +190,6 @@ clutter_paint_volume_set_origin (ClutterPaintVolume *pv,
int i;
g_return_if_fail (pv != NULL);
g_return_if_fail (pv->is_axis_aligned);
dx = origin->x - pv->vertices[0].x;
dy = origin->y - pv->vertices[0].y;