Harald Csaszar
e52d4977df
Merge branch '4.0' into 4.1-beta
2022-03-24 17:53:41 +01:00
Yinqiang Zhu
763204a2b6
Fix compiler warning ( #2038 )
...
Fix compiler warning: 'inconsistent-missing-override'
2022-03-24 14:38:54 +01:00
Mario Zechner
0e122e1877
[cpp] Return error if skeleton version doesn't match runtime version. See #1998
2022-03-22 13:46:08 +01:00
Mario Zechner
17ad70740e
[cpp] Fix parsing of SequenceTimeline from JSON
...
lastDelay was never set.
2022-03-11 18:30:05 +01:00
Mario Zechner
b33e66e1d2
Merge branch '4.0' into 4.1-beta
2022-03-11 18:07:46 +01:00
Mario Zechner
f4a92fbfae
[c] Fixes #2041 , adds sanitizer support via Cmake flag SPINE_SANITIZER=TRUE
2022-03-11 18:07:30 +01:00
Mario Zechner
0d237b1529
[c] Port sequence timeline loading to SkeletonBinary
...
Deform timeline parsing not working.
2022-02-04 13:21:44 +01:00
Mario Zechner
ec93dbac89
[cpp] Fix formatting.
2022-02-02 12:40:00 +01:00
Mario Zechner
ffb9e75b09
[c][cpp] Port of shortestRotation, see #2027
2022-02-02 12:02:43 +01:00
Mario Zechner
504f52a5a7
Merge branch '4.0' into 4.1-beta
...
# Conflicts:
# spine-as3/spine-as3/src/spine/animation/ScaleTimeline.as
# spine-as3/spine-as3/src/spine/animation/ScaleXTimeline.as
# spine-as3/spine-as3/src/spine/animation/ScaleYTimeline.as
# spine-lua/spine-lua/Animation.lua
# spine-ts/package-lock.json
# spine-ts/package.json
# spine-ts/spine-canvas/package.json
# spine-ts/spine-core/package.json
# spine-ts/spine-player/package.json
# spine-ts/spine-threejs/package.json
# spine-ts/spine-webgl/package.json
2022-01-27 18:42:14 +01:00
Mario Zechner
65c62bff06
[cpp] Ported scale mixing fix, see #2028 .
2022-01-26 20:37:29 +01:00
Mario Zechner
65a12c6f8e
[c] More porting of sequences.
2021-12-29 22:26:34 +01:00
Mario Zechner
1976a3e6ca
[cpp] Fix sequence timeline not setting renderer object correctly., formatting
2021-12-22 15:30:21 +01:00
Mario Zechner
1cba329685
[cpp] Fix loading of mesh attachments
2021-12-22 15:17:12 +01:00
Mario Zechner
9ac6f3dcc7
[cpp] Support sequence (timelines) in SkeletonJson
2021-12-17 16:41:40 +01:00
Mario Zechner
9fda6dcd3b
[cpp] Sequence and SequenceTimeline support in SkeletonBinary.
2021-12-16 17:14:52 +01:00
Mario Zechner
94d218d0c7
[cpp] Sequence timeline.
2021-12-15 16:34:31 +01:00
Mario Zechner
bb81f31171
[cpp] Fix formatting.
2021-12-15 16:30:29 +01:00
Mario Zechner
1ac6c6bd35
[cpp] Initial port of sequences
...
Loaders require modifications, timeline needs to be added.
2021-11-17 15:32:35 +01:00
Harald Csaszar
f2cf39cfb6
Merge branch '4.0' into 4.1-beta
2021-11-03 19:52:46 +01:00
Cesar Guirao
c92bca135f
Fix AABB calculation ( #1971 )
2021-11-02 22:23:11 +01:00
Mario Zechner
e87757ef57
Update version strings to 4.1(.xx)
2021-10-14 00:47:13 +02:00
Nathan Sweet
96a998b82d
Spine Runtimes License Agreement update (September 24, 2021).
2021-09-24 18:18:19 -10:00
Nathan Sweet
77774608bf
[as3][c][cpp][csharp][libgdx][lua][ts] Fixed updateAppliedTransform for the root bone.
2021-09-16 17:00:10 -06:00
Nathan Sweet
f4021177f9
[as3][c][cpp][csharp][libgdx][lua][ts] Don't treat scale sign as an instant transition when applying a timeline additively.
2021-09-15 00:28:43 -06:00
Nathan Sweet
2d34b84f46
[cpp] Simplified setAttachment deform clear logic, fewer parens.
2021-09-13 18:28:11 -06:00
Mario Zechner
cd5f561739
[runtimes] Fix formatting.
2021-09-14 01:58:39 +02:00
Mario Zechner
eedaccc418
[cpp] Fix DeformTimeline, Slot::setAttachment
...
DeformTimeline had a misplaced return, Slot::setAttachment was not exactly matching the reference implementation if _attachment or inValue where NULL.
2021-09-14 01:57:24 +02:00
Mario Zechner
c41cc94008
[runtime] Revert changes to owl-pro.spine
...
Conversion to 4.0.31 and export breaks additive blending even more.
2021-09-14 00:44:00 +02:00
Mario Zechner
31c2f4aedd
[c][cpp] Fix compilation errors. See commit dc9a6eb, see #1951
2021-09-13 23:36:48 +02:00
Nathan Sweet
dc9a6ebe7f
[as3][c][cpp][csharp][libgdx][lua][ts] Fixed loading transform constraint timelines from JSON data.
...
* Fixed SkeletonJson not allocating enough memory for curves (maximum of 6 curves/key, not 4). Fixes email: FMfcgzGkbDfvckWcFxWlsTWzFhMXsTDw
* Removed SkeletonData and Skeleton methods: findBoneIndex, findSlotIndex. Bones and slots have an index field that should be used instead.
* Removed SkeletonData and Skeleton methods: find*ConstraintIndex. Only SkeletonJson needed these, they don't need to be in the public API.
* Used a local for number of frames where it was used many times.
2021-09-12 18:15:19 -06:00
Nathan Sweet
efac69ee7a
Fixed scale of constrained bones with transform constraint relative + local.
2021-09-06 19:54:17 -06:00
Mario Zechner
0bf2fb6059
Revert "Formatting errors to test GH Action."
...
This reverts commit 1800b235458b331b87bed27ce5aee55575163fc7.
2021-08-18 21:21:09 +02:00
Mario Zechner
1800b23545
Formatting errors to test GH Action.
2021-08-18 21:15:37 +02:00
badlogic
8057c114db
[c][cpp] Fix multi-page atlas parsing, closes #1935
2021-08-05 16:19:06 +02:00
Nathan Sweet
8d99332f7f
[all] Fixed AnimationState#addEmptyAnimation when the track is empty.
...
http://esotericsoftware.com/forum/Spine-4-change-in-behavior-with-EmptyAnimation-16176
2021-07-28 20:32:53 -04:00
Nathan Sweet
0b01c0036e
[as3][c][cpp][csharp][libgdx][ts] Fixed SkeletonBinary scale not being applied to some timelines.
...
closes #1928
2021-07-20 13:31:31 -04:00
Harald Csaszar
ba07ea9f91
[cpp] Fixed compile error of incorrect printf format types, zu instead of lu (reported by VS19 but not VC17 in UE4).
2021-07-13 15:54:00 +02:00
badlogic
679b1d9c6c
[cpp] Force c++11 on spine-cpp Cmake build, closes #1922
2021-07-09 17:29:42 +02:00
badlogic
e842e67d19
[c][cpp] CMake clean-up, update to C++11.
2021-07-01 11:04:12 +02:00
badlogic
a1959ee1a0
Merge branch '4.0' of https://github.com/esotericsoftware/spine-runtimes into 4.0
...
# Conflicts:
# spine-c/spine-c/src/spine/PathConstraint.c
2021-07-01 10:40:55 +02:00
badlogic
87658c7d31
[c][cpp] Spotless formatter
2021-07-01 10:40:18 +02:00
Nathan Sweet
87b9821e00
[as3][c][cpp][cs][libgdx][lua] Fixed crash with path constraint proportional spacing and tangent rotate modes.
2021-06-30 14:11:26 -04:00
badlogic
30702a3bff
[c][cpp] Fix AnimationState::clearNext()
2021-06-21 17:45:34 +02:00
badlogic
6a01b42dba
[cpp] Rset mixBlend, see #1903
2021-06-15 13:29:56 +02:00
Mario Zechner
de697385fc
[runtimes] Fix up README.md files using correct editor version.
2021-06-14 15:31:17 +02:00
Mario Zechner
34b355eabd
[cpp] RTTI should not inherit from SpineObject, closes #1870
...
Depending on the destruction order of static RTTI instances and SpineExtension instances, we'd call SpineExtension::beforeFree in ~RTTI, when SpineExtension has already been destructed.
2021-06-14 15:12:56 +02:00
Mario Zechner
6d384cd75c
[cpp] Copy EventQueueEntry instead of taking pointer to reallocatable instance. Closes #1827 .
2021-06-14 14:55:45 +02:00
Mario Zechner
3af35555a9
[c][cpp] Expose colors on bones, attachments. Closes #1823
2021-06-14 14:50:07 +02:00
badlogic
07d3633881
[c][cpp] Port IK constraint changes
...
See
33bce01fee
f9862b10b3
2021-06-09 14:44:24 +02:00