cocos2d/cocos2d-iphone — pull request #257 by slembcke (2012-10-26 17:42:31+00:00)
Title: Alternate fix for the Objective-Chipmunk integration issues.

Ok, so I found an alternate solution that should work for both of us then. I disabled private access in CCPhysicsDebugNode.h and instead used the CP_PRIVATE() macro in the .m file. I also had to make some small changes to Objective-Chipmunk.h to better deal with including chipmunk.h twice.

I also fixed a small bug where shapes attached to rogue bodies would cause the debug layer to crash.