1205 Commits

Author SHA1 Message Date
John
f67a5457a0 Opt-in Generic Autoreset for SkeletonAnimation
This allows users to easily let the SkeletonAnimation act like Spine editor (not inheriting poses from previous animations) without adding extra code.
2015-12-24 06:53:59 +08:00
John
205e0dc5ad [Unity] Fix material array incorrect persistence
This fixes a separate flickering bug.
Reported in the forum here: http://esotericsoftware.com/forum/Weird-flicker-between-some-of-the-animations-5577
The solution was to compare `this.sharedMaterials` against the immediately-determined material array.

Also included:
Moved attachment and flip array checks outside of extra loops in CheckIfMustUpdateMeshStructure to prevent O(2n) behavior.
Renamed some identifiers. "temp" is replaced with "working". The analogy is human brain's "working memory".
Added some cached references within the method's stack (where their members are frequently accessed).
Added comments for easy update, in preparation for incoming changes in Spine v3.
2015-12-23 03:31:56 +08:00
John
6778a039c6 Flickering fix
Force it to update both meshes when new triangles need to be pushed.
http://esotericsoftware.com/forum/Flickering-and-a-solution-for-it-5299
2015-12-19 20:02:10 +08:00
John
e4f9c46412 [Unity] Fix GroundConstraint -y pose values
Fix for this issue: https://github.com/EsotericSoftware/spine-runtimes/issues/484
http://esotericsoftware.com/forum/Unity-IK-SkeletonUtilityGroundConstraint-problem-5464
2015-12-15 17:19:18 +08:00
John
ed35664230 Merge pull request #437 from witcher112/master
Unity 5 and Windows Phone building fixes
2015-12-15 17:15:48 +08:00
John
c28d6442ff Merge pull request #482 from LostPolygon/animator-fix
[Spine-Unity] Fix occasional broken frame at the moment node transition happened
2015-12-15 16:15:28 +08:00
John
0474200575 Merge pull request #473 from LostPolygon/reimport-improvements
[Spine-Unity] Improved handling of Reimport All and some other weird asset import cases
2015-12-15 16:13:56 +08:00
Serhii Yolkin
3218c78239 compare references to attachments instead of comparing attachment properties 2015-11-21 18:08:17 +01:00
Serhii Yolkin
8ebf27de24 some refactoring 2015-11-21 17:56:14 +01:00
Serhii Yolkin
990eb6a8f0 fix occasional broken frame at the moment node transition happened 2015-11-21 17:47:37 +01:00
Serhii Yolkin
3cbf42d743 derp 2015-10-13 00:00:38 +02:00
Serhii Yolkin
7d60e4e255 improved handling of Reimport All and some other weird asset import cases 2015-10-11 20:26:42 +02:00
NathanSweet
91340709d4 Source formatting.
So fresh and so clean!
2015-08-03 15:06:20 +02:00
NathanSweet
9478db3d2d Fixed bounds when there are no attachments to render. 2015-08-03 14:15:14 +02:00
NathanSweet
2d70e2b05b Fixed zSpacing. 2015-08-03 05:56:44 +02:00
NathanSweet
e20a47e8f3 Fixed errors when there are no attachments to render. Added micro optimizations. 2015-08-03 03:57:42 +02:00
NathanSweet
01cb844993 You get a license file, you get a license file, EVERYBODY GETS A LICENSE FILE! 2015-07-30 22:47:00 +02:00
NathanSweet
f06fbb3d8d Clarified licensing on runtimes pages. 2015-07-30 22:44:47 +02:00
Nathan Sweet
343745006c Update README.md 2015-07-25 22:39:24 +02:00
Fenrisul
2f31288ab2 [Unity] BoundingBoxFollower reset fix 2015-07-17 23:26:08 -07:00
Fenrisul
32b8dede3d Merge branch 'master' of https://github.com/Fenrisul/spine-runtimes 2015-07-08 23:25:31 -07:00
ZimM
83624a2259 fixed warning 2015-06-29 21:02:29 +02:00
ZimM
7414476841 fix SubmeshRenderer 2015-06-29 19:24:07 +02:00
ZimM
4057316a91 Merge remote-tracking branch 'remotes/upstream/master' into optimizations 2015-06-29 19:07:39 +02:00
Fenrisul
5ee7823116 [Unity] Spine Gauge Example and misc importer tweak 2015-06-24 20:24:24 -07:00
Tomasz Jaworski
14803b4fab Windows Phone 8 complation fixed (BufferedStream changed to FileStream)
RaggedySpineboy - changed fixedAngle to freezeRotation for Unity 5.1

Changed SkeletonRagdoll2D #if UNITY_5_0 to UNITY_5
2015-06-18 18:01:59 +02:00
Fenrisul
8e49f78bbc [Unity] Patched Unity 5.1 problem with compiler directives 2015-06-14 09:44:48 -07:00
invicticide
4551a62d4b Fix for unexpected huge skeleton render scale when using SPINE_TK2D 2015-06-05 00:12:40 -06:00
Fenrisul
1f550ce5af [Unity] SkeletonAnimator lastTime calculation added to fix skipped frames 2015-06-04 11:18:52 -07:00
Fenrisul
62268f5bfa [Unity] Updated some editor usability things 2015-06-04 10:41:27 -07:00
Fenrisul
f73ce8b447 [Unity] Refactored the Mecanim and Baking options in SkeletonDataAssetInspector for clarity. 2015-06-02 11:55:27 -07:00
Fenrisul
1f343c63b9 [Unity] Auto-import of .skel.bytes added.
Added missing semicolon for TK2D
2015-05-29 11:24:29 -07:00
Fenrisul
6b7fab2c88 [Unity] SkeletonUtilityBoneInspector.cs updated to update obviously previously existing collider's points array. 2015-05-26 21:35:48 -07:00
ZimM
292f8a6404 fixed SkeletonUtilitySubmeshRenderer 2015-05-20 03:11:45 +03:00
ZimM
dcab4d975b fixed frontFacing stuff 2015-05-20 02:45:15 +03:00
Fenrisul
aef9b23a20 [Unity] Added SkeletonGhost stuff
SkeletonGhost Shader contributed by Alex Dixon
2015-05-17 05:20:06 -07:00
Fenrisul
45d8adb64c [Unity] Repaired misc Ragdoll things. 2015-05-16 06:20:20 -07:00
Fenrisul
c6ecfb87ce [Unity] Added SkeletonRagdoll, SkeletonRagdoll2D, and Ragdoll example. 2015-05-15 23:14:51 -07:00
Fenrisul
7facdba396 [Unity] Updated SkeletonAnimationInterface to include GetSkeleton to avoid additional GetComponents. 2015-05-02 00:36:45 -07:00
Fenrisul
65ef51d6bc [Unity] Warnings cleanup 2015-04-25 01:06:47 -07:00
Fenrisul
7788abbee2 Merge branch 'master' of https://github.com/EsotericSoftware/spine-runtimes 2015-04-25 01:01:06 -07:00
Fenrisul
a2c9e9090d [Unity] LibGDX Atlas integration improvements 2015-04-25 01:00:43 -07:00
NathanSweet
27270a5781 Spine Runtimes license update.
Minor update to fix "SOFTARE" typo and clairfy how to get permission.
2015-04-24 21:33:24 +02:00
Fenrisul
a4361c6f0c [Unity] Added BoundingBoxFollower 2015-04-10 01:32:36 -07:00
Fenrisul
e5a3cf3070 [Unity] No seriously this time, fixed the Basic Platformer.unity example scene. 2015-04-07 11:55:36 -07:00
Fenrisul
2cc4add0a1 [Unity] Updated Basic Platformer example scene with mesh Hero. 2015-04-05 11:41:37 -07:00
NathanSweet
f8a76c6455 Blend modes for all runtimes. 2015-04-02 14:20:20 +02:00
NathanSweet
1ccef4f1cf SkeletonDataAsset can now parse binary files.
Left benchmark code commented out.
2015-03-29 17:54:08 +02:00
NathanSweet
f9e0e103b8 Fixed warnings. 2015-03-29 00:48:18 +01:00
pharan
7bf9b0f524 Added skeleton.SetColor to Unity SkeletonExtensions. 2015-03-28 14:26:57 +08:00