[clutter] paint-volumes: remove alignment constraint for _set_origin
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] paint-volumes: remove alignment constraint for _set_origin
- Date: Thu, 16 Jun 2011 11:58:40 +0000 (UTC)
commit 394512b274cadec2d7baa78671de41a27ef8bbc3
Author: Robert Bragg <robert linux intel com>
Date: Thu Jun 16 12:31:50 2011 +0100
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 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-paint-volume.c b/clutter/clutter-paint-volume.c
index f97d794..cd9b931 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]