It is a bug [1] in pygobject handling uchar properties. The only way to work around this (without patching pygobject), is by using the get/set_opacity methods. To animate the actors opacity you have to use a BehaviourOpacity instead of an implicit animation.
so long :wq buz [1] http://bugzilla.gnome.org/show_bug.cgi?id=591800 On Thu, Sep 03, 2009 at 10:35:37PM +0200, tomw wrote: > Hi, > > I'm getting some warnings during animations like: > > self.my_actor.animate(clutter.EASE_IN_SINE, 1500, 'opacity', > 0).connect_after('completed', self.on_completed) > > Warning: g_value_set_char: assertion `G_VALUE_HOLDS_CHAR (value)' failed > > any idea, anyone? > > Beyond this, whatever I change the opacity value to (0 or 255) the actor > is alway fading out. What am I missing here? > > thanks, > > tomw -- I pretend to work. They pretend to pay me. GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82
signature.asc
Description: Digital signature
