issues
search
galacean
/
engine-spine
MIT License
9
stars
8
forks
source link
Fix: clone bug
#18
Closed
johanzhu
closed
3 years ago
johanzhu
commented
3 years ago
Please check if the PR fulfills these requirements
[x] The commit message follows our
guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature.
What is the current behavior? (You can also link to an open issue here)
SpineAnimation component clone will use same skeleton data and animation state. Animation rendering is wrong.
spine render setting cannot change.
What is the new behavior (if this is a feature change)?
Custom component clone by using _cloneTo func. Use target setSkeletonData func solve clone problem.
spine render setting can change now.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No.
Other information:
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature.
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No.
Other information: