Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initSensor only handles index 0 #8

Open
Craniac opened this issue Nov 27, 2013 · 1 comment
Open

initSensor only handles index 0 #8

Craniac opened this issue Nov 27, 2013 · 1 comment

Comments

@Craniac
Copy link

Craniac commented Nov 27, 2013

ofxKinectCommonBridge::initSensor, when it calls KinectGetPortIDByIndex, has a 0 hard-coded for the index. This should probably be "id" instead of 0.

@elliotwoods
Copy link
Collaborator

confirmed here
changing line 430 to :

    if( !SUCCEEDED(KinectGetPortIDByIndex( id, _countof(portID), portID ))) {

fixes the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants