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

Increment body node version after it has been removed from a new skeleton #1489

Merged
merged 10 commits into from
Aug 27, 2020

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Aug 27, 2020

#1445 was introduced to increment body node version after it's being added to a skeleton as a fix for the auto-updating collisions. However, this change doesn't cover the case that a body node is removed from a skeleton instead of transferring to a new skeleton. This PR is a fix for the case by incrementing the version when a body node is being removed from the skeleton.


Before creating a pull request

  • Document new methods and classes
  • Format new code files using clang-format

Before merging a pull request

  • Set version target by selecting a milestone on the right side
  • Summarize this change in CHANGELOG.md
  • Add unit test(s) for this change

@jslee02 jslee02 added this to the DART 6.10.0 milestone Aug 27, 2020
@jslee02 jslee02 requested a review from mxgrey August 27, 2020 03:15
mxgrey
mxgrey previously approved these changes Aug 27, 2020
Copy link
Member

@mxgrey mxgrey left a comment

Choose a reason for hiding this comment

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

Whoops, yeah, sorry for overlooking this 😅

Base automatically changed from 6.9_to_master to master August 27, 2020 15:35
@jslee02 jslee02 dismissed mxgrey’s stale review August 27, 2020 15:35

The base branch was changed.

Jeongseok Lee added 2 commits August 27, 2020 08:37
@jslee02
Copy link
Member Author

jslee02 commented Aug 27, 2020

No worries. #1445 was a great hint for me to quickly fix the issue :)

@codecov
Copy link

codecov bot commented Aug 27, 2020

Codecov Report

Merging #1489 into master will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1489      +/-   ##
==========================================
+ Coverage   58.11%   58.18%   +0.06%     
==========================================
  Files         414      414              
  Lines       30006    30008       +2     
==========================================
+ Hits        17439    17459      +20     
+ Misses      12567    12549      -18     
Impacted Files Coverage Δ
dart/dynamics/Skeleton.cpp 66.39% <100.00%> (+0.20%) ⬆️
dart/collision/CollisionGroup.cpp 81.89% <0.00%> (+6.17%) ⬆️

@jslee02 jslee02 marked this pull request as ready for review August 27, 2020 17:44
@jslee02 jslee02 merged commit abb8575 into master Aug 27, 2020
@jslee02 jslee02 deleted the bugfix/skel_version branch August 27, 2020 17:44
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.

2 participants