keweibing / cocos2d-android

Automatically exported from code.google.com/p/cocos2d-android
Other
0 stars 0 forks source link

Minor Box2d Intergration on demos. #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click repeatedly in either of the box2d tests.
2.
3.

What is the expected output? What do you see instead?
-null pointer exception

What version of the product are you using? On what operating system?
-Latest source at time of writing, Android 2.3.3

Please provide any additional information below.

-While the box2d World's  m_lock variable is set (during stepping), clicking 
can cause null pointer exceptions. Simple enough to fix, 
either expose the m_lock, add a function to check, or simply 
keep some details of the click until the next tick().

Original issue reported on code.google.com by wopstic...@gmail.com on 18 Jun 2011 at 11:11