-
Neil Roberts authored
g_list_insert_sorted inserts the new actor before all others that compare equal so for the normal case when all actors have depth==0 this has the surprising behaviour of layering the actors in reverse order. To fix this it now manually inserts the actor in the right place by searching until it finds an actor at a higher depth and inserting before that. http://bugzilla.openedhand.com/show_bug.cgi?id=1988
eb35c446