Commit 394512b2 authored by Robert Bragg's avatar Robert Bragg

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
parent 30eb3be7
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment