cpShape.layers init'ed to 16 layers not 32

Discuss any Chipmunk bugs here.
Post Reply
User avatar
Tam Toucan
Posts: 141
Joined: Tue Jun 23, 2009 4:26 pm
Contact:

cpShape.layers init'ed to 16 layers not 32

Post by Tam Toucan »

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
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

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

Post by slembcke »

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/
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests