gameoverhack / ofxOpenNI

Wrapper for OpenNI, NITE and SensorKinect
gingold.com.au
Other
246 stars 121 forks source link

FIX USER RESETTING #22

Open mailiam opened 11 years ago

mailiam commented 11 years ago

somehow this edit drops lost user correctly.

kylemcdonald commented 11 years ago

i also had a problem where the app would crash when it gets to Deleting user1 the second time, and it looks like this fixes it.

thiagohersan commented 11 years ago

+1 . This makes it drop untracked users more effectively.

Without this, ofxOpenNI::getNumTrackedUsers( ) keeps increasing, sometimes even past what's set using ofxOpenNI::setMaxNumUsers(i). This made losing users more dynamic : )