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

BREAKING change (1.0, springBone): VRMSpringBoneManager, rename several members #1003

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

0b5vr
Copy link
Contributor

@0b5vr 0b5vr commented Jul 6, 2022

Description

Rename several members of VRMSpringBoneManager .

  • springBones -> joints
  • addSpringBone -> addJoint
  • removeSpringBone -> removeJoint

previous names still work, but emit a deprecation warning.

Reason

"SpringBone" rather means the entire system, while "Joint" indicates the component of the SpringBone.

…al members

- `springBones` -> `joints`
- `addSpringBone` -> `addJoint`
- `removeSpringBone` -> `removeJoint`

previous names still work, but emit deprecation warning
@0b5vr 0b5vr added Breaking Change Choose wisely VRM 1.0 labels Jul 6, 2022
@0b5vr 0b5vr added this to the VRM 1.0 milestone Jul 6, 2022
@0b5vr 0b5vr self-assigned this Jul 6, 2022
Copy link
Contributor

@ke456-png ke456-png left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addSpringBone() is deprecated. Use addJoint() instead.

LGTM

@0b5vr 0b5vr merged commit 7bd1c70 into 1.0 Jul 7, 2022
@0b5vr 0b5vr deleted the rename-joints branch July 7, 2022 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants