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

dJointSetTransmissionAxis2() does faulty assert #33

Closed
tzaeschke opened this issue Aug 31, 2015 · 1 comment
Closed

dJointSetTransmissionAxis2() does faulty assert #33

tzaeschke opened this issue Aug 31, 2015 · 1 comment

Comments

@tzaeschke
Copy link
Owner

The method DxJointTransmission.dJointSetTransmissionAxis2(...) performs an assignment instead of equality check.

dUASSERT(mode = TRANSMISSION.dTransmissionIntersectingAxes, "can't set individual axes in current mode" );
should be changed to:
dUASSERT(mode == TRANSMISSION.dTransmissionIntersectingAxes, "can't set individual axes in current mode" );

@tzaeschke
Copy link
Owner Author

Fix: see commit 1a3d3bf

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

1 participant