cpShape.layers init'ed to 16 layers not 32

Discuss any Chipmunk bugs here.

cpShape.layers init'ed to 16 layers not 32

Postby Tam Toucan » Tue Jun 30, 2009 7:47 am

Just a minor point, but I couldn't see mentioned elsewhere. I notice the docs say
By default, a shape occupies all 32 bit-planes.

but cpShape.c does
Code: Select all
        shape->layers = 0xFFFF;
so it only occupies 16 bit-planes.
User avatar
Tam Toucan
 
Posts: 141
Joined: Tue Jun 23, 2009 4:26 pm

Re: cpShape.layers init'ed to 16 layers not 32

Postby slembcke » Tue Jun 30, 2009 5:04 pm

Yep, I caught and fixed that in trunk a while back. I'm still going to need to try and back port some of these fixes at some point I think.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests