-
Notifications
You must be signed in to change notification settings - Fork 3
make get3DTransform return void #89
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
base: main
Are you sure you want to change the base?
Conversation
| newBone = super.get3DTransform(newBone); | ||
| super.get3DTransform(newBone); | ||
| transformBone(newBone); | ||
| bone.copyOtherBone(newBone); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason for the change was that for example here instead of applying newBone to bone you can just return newBone
But I guess I forgot to do that here...
Originally get3DTransform actually returned void very early in development
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let it return void again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You gotta acknowledge that the way I did it has some advantages
I recognize it returning void also has it's own advantages, but at this point we gotta really consider if the change is worthwhile given the existence of multi version projects that might suffer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problems of multi-version projects are not our problems.
Returning the bone back creates confusing, and personally, I don't understand how to use it correctly.
Some people may return the wrong bone, and we will never know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multi-version projects may simply not use the return value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have personally had issues with returning the wrong bone and then getting stumped about why shit isn't working
I was about to write a paragraph about multi-version projects, but like now that I think about it fuck that
I never understood why it returns the bone back, it's so confusing