From 394512b274cadec2d7baa78671de41a27ef8bbc3 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Thu, 16 Jun 2011 12:31:50 +0100 Subject: [PATCH] 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. --- clutter/clutter-paint-volume.c | 1 - 1 file changed, 1 deletion(-) diff --git a/clutter/clutter-paint-volume.c b/clutter/clutter-paint-volume.c index f97d794c4..cd9b931cb 100644 --- a/clutter/clutter-paint-volume.c +++ b/clutter/clutter-paint-volume.c @@ -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;