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.
This commit is contained in:
Emmanuele Bassi 2011-12-19 12:13:23 +00:00 committed by Emmanuele Bassi
parent 3ad77b417c
commit 5cba801207

View File

@ -4403,6 +4403,7 @@ clutter_actor_real_get_paint_volume (ClutterActor *self,
}
clutter_paint_volume_union (volume, child_volume);
res = TRUE;
}
return res;