Skip to content

Commit

Permalink
[cpp] Rset mixBlend, see #1903
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Jun 15, 2021
1 parent 9507609 commit 6a01b42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spine-cpp/spine-cpp/src/spine/AnimationState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,7 @@ TrackEntry *AnimationState::newTrackEntry(size_t trackIndex, Animation *animatio
entry._interruptAlpha = 1;
entry._mixTime = 0;
entry._mixDuration = (last == NULL) ? 0 : _data->getMix(last->_animation, animation);
entry._mixBlend = MixBlend_Replace;

return entryP;
}
Expand Down

0 comments on commit 6a01b42

Please sign in to comment.