I'm working in a Moblin 2.0 environment under ubuntu 9.04. See the attachment for more. In the sample, I click the left arrow, but some assert display sometime. (./actor-events:3958): Clutter-CRITICAL **: clutter_id_pool_lookup: assertion `id < id_pool->array->len' failed And sometime, there is no response. I trace into it, the error come from _clutter_do_pick(). In _clutter_do_pick(), the code is following.
/* Read the color of the screen co-ords pixel */ glReadPixels (x, viewport[3] - y -1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixel); /* Restore whether GL_DITHER was enabled */ if (dither_was_on) glEnable (GL_DITHER); if (pixel[0] == 0xff && pixel[1] == 0xff && pixel[2] == 0xff) return CLUTTER_ACTOR (stage); id = _clutter_pixel_to_id (pixel); <<==== here, I get a wrong id. return clutter_get_actor_by_gid (id);
7-actor-events.tar.gz
Description: application/compressed-tar
_______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists