Skip to content

Conversation

@dima-dencep
Copy link
Collaborator

I never understood why it returns the bone back, it's so confusing

newBone = super.get3DTransform(newBone);
super.get3DTransform(newBone);
transformBone(newBone);
bone.copyOtherBone(newBone);
Copy link
Owner

@ZigyTheBird ZigyTheBird Jan 2, 2026

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

Copy link
Collaborator Author

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

Copy link
Owner

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

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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

Copy link
Owner

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

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

Successfully merging this pull request may close these issues.

3 participants