cullable: Use relative actor coordinates for culling

This ensures that nested cullables work fine.
This commit is contained in:
Jasper St. Pierre
2013-11-25 15:27:48 -05:00
parent f5bb6e407f
commit c1f5741ac0
3 changed files with 10 additions and 13 deletions

View File

@@ -93,8 +93,10 @@ meta_actor_vertices_are_untransformed (ClutterVertex *verts,
v3x != v1x || v3y != v2y)
return FALSE;
*x_origin = x;
*y_origin = y;
if (x_origin)
*x_origin = x;
if (y_origin)
*y_origin = y;
return TRUE;
}