diff --git a/spine-cocos2dx/spine-cocos2dx.cmake b/spine-cocos2dx/spine-cocos2dx.cmake index 7e7b3285c..beaea02ab 100644 --- a/spine-cocos2dx/spine-cocos2dx.cmake +++ b/spine-cocos2dx/spine-cocos2dx.cmake @@ -25,4 +25,4 @@ file(GLOB_RECURSE SPINE_COCOS2DX_SOURCES "${SPINE_RUNTIMES_PATH}/spine-cocos2dx/ add_library(spine-cocos2dx STATIC ${SPINE_COCOS2DX_SOURCES} ${SPINE_COCOS2DX_HEADERS}) target_include_directories(spine-cocos2dx PUBLIC "${SPINE_RUNTIMES_PATH}/spine-cpp/spine-cpp/include/") target_include_directories(spine-cocos2dx PUBLIC "${SPINE_RUNTIMES_PATH}/spine-cocos2dx/spine-cocos2dx/src/") -target_link_libraries(spine-cocos2dx PRIVATE cocos2d) \ No newline at end of file +target_link_libraries(spine-cocos2dx PRIVATE cocos2d spine-cpp) \ No newline at end of file diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java index 74ff0bd0a..c05d0135e 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java @@ -1151,7 +1151,8 @@ public class AnimationState { * {@link AnimationStateData#getMix(Animation, Animation)} based on the animation before this animation (if any). *

* A mix duration of 0 still mixes out over one frame to provide the track entry being mixed out a chance to revert the - * properties it was animating. + * properties it was animating. A mix duration of 0 can be set at any time to end the mix on the next + * {@link AnimationState#update(float) update}. *

* The mixDuration can be set manually rather than use the value from * {@link AnimationStateData#getMix(Animation, Animation)}. In that case, the mixDuration can be set for a new