[clutter/wip/apocalypses/apocalypse-1: 62/92] actor: Fix get_paint_volume() default implementation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/apocalypses/apocalypse-1: 62/92] actor: Fix get_paint_volume() default implementation
- Date: Tue, 3 Jan 2012 22:25:23 +0000 (UTC)
commit 78c1c2abc9a8291ef43a4e13bac269156f487216
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 591fd27..c8b18ac 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -4410,6 +4410,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]