[clutter] actor: Fix get_paint_volume() default implementation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] actor: Fix get_paint_volume() default implementation
- Date: Mon, 16 Jan 2012 23:56:39 +0000 (UTC)
commit 5cba8012073e36677a86abd9ac22a69153aa9be9
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Dec 19 12:13:23 2011 +0000
actor: Fix get_paint_volume() default implementation
Providing a default get_paint_volume() that takes into account the
children of an actor was a goal of the whole First Apocalypse; if we
make all the containers rely on it, and yet we return a FALSE value
(meaning: we don't have a valid paint volume) even when we do have it,
then we are going to break the whole machinery, though.
clutter/clutter-actor.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index b2f92ae..645aaa8 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -4403,6 +4403,7 @@ clutter_actor_real_get_paint_volume (ClutterActor *self,
}
clutter_paint_volume_union (volume, child_volume);
+ res = TRUE;
}
return res;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]