963 Commits

Author SHA1 Message Date
Harald Csaszar
02fc928318 [unity] Reverting last commit changes again since Unity's auto code updater still causes mixed line endings on Unity 2019 due to ignoring #if branches in shaders. Will be changed in gitattributes instead to change cginc to lf. 2019-04-27 11:57:31 +02:00
Harald Csaszar
f53ce3734c [unity] Prevented a warning to appear in Unity 2017.3 and newer. Code auto-update previously caused mixed line endings. 2019-04-27 10:28:35 +02:00
Harald Csaszar
a180194c0a [unity] Saving Spine - Preferences in EditorPrefs too for consistency, used when first creating SpineSettings.asset in a new project. See 1336. 2019-04-27 09:58:08 +02:00
Harald Csaszar
bb52cce293 [unity] Automatically copying previous Spine - Preferences settings over to SpineSettings.asset at first creation. See 1336. 2019-04-26 19:21:49 +02:00
Harald Csaszar
bd69b9bc38 [unity] Now using SettingsProvider for Preferences - Spine menu. This stores Spine settings in Assets/Editor/SpineSettings.asset which can be shared with team members. Fixes a warning. Closes #1336. 2019-04-26 18:42:04 +02:00
Harald Csaszar
89e759a8f5 [unity] Fixed initial animation not being mixed out in some circumstances due to PoseSkeleton call. Removed PoseSkeleton and PoseWithAnimation extension methods to prevent related issues on user side. Fixed incorrect random Nth frame preview in Scene view for SkeletonAnimation and SkeletonGraphic. Closes #1340. 2019-04-25 18:41:56 +02:00
Harald Csaszar
e09ea0b212 [unity] Fixed unnecessary updates in editor when SkeletonRenderer is selected. Closes #1339. 2019-04-25 16:35:11 +02:00
Harald Csaszar
4ff249fa30 [unity] Removed 2 of 3 warnings in Unity 2019.1. See #1336. 2019-04-22 22:13:44 +02:00
Harald Csaszar
bf93b00e6b [unity] Fixed SkeletonDataAsset auto-update mechanism on .json file change for both scene view and inspector. Closes #1330. 2019-04-18 19:53:55 +02:00
Harald Csaszar
dfb5ed1106 [unity] Fixed "Skin not found: default" error at binary .skel.bytes files and SkeletonGraphic. Fixes #1332. 2019-04-18 17:02:00 +02:00
Harald Csaszar
356fb38442 [unity] Fixed broken inspector preview in Unity7 2019. Closes #1331. 2019-04-17 18:10:01 +02:00
Harald Csaszar
5fc3f99d4b [unity] Fixed SkeletonMecanim leftover animation rotations when transitioning to an empty "Write Defaults" state. Fixes #1321. 2019-04-05 14:34:55 +02:00
Harald Csaszar
9bb5a0d044 [unity] Fixed SkeletonMecanim layer blend modes, now it detects Override/Add from the animation controller. Also fixed some animator related warnings in editor. Closes ##1317. 2019-04-02 19:48:17 +02:00
Harald Csaszar
d03de3fdf7 [unity] Fixed wrong atlas assets being assigned upon import when multiple skeletons are exported to the same directory. Closes #1312. 2019-03-26 17:03:40 +01:00
Harald Csaszar
f0e9164648 [unity] Ported AnimationState and Animation changes, references in spine-unity. See #1303. 2019-03-20 18:44:12 +01:00
Harald Csaszar
ad20319387 [unity] Added missing Create 2D Hinge Chain button at SkeletonUtilityBone inspector, only 3D version was available. Closes #1310. 2019-03-20 18:18:55 +01:00
badlogic
efc212110d Merge branch '3.7' into 3.8-beta 2019-03-13 11:38:07 +01:00
Harald Csaszar
75d16a4fc9 [unity] Improved warnings for incorrect material settings, now not triggering at non-Spine shaders. See #1305. 2019-03-12 18:55:00 +01:00
Harald Csaszar
f004e74965 [unity] Fixed Exception in incorrect material setting detection mechanism. Fixes #1305. 2019-03-12 18:34:25 +01:00
badlogic
ede677ce3f Version fixes. 2019-03-06 15:24:02 +01:00
badlogic
1629c7e7ab [unity][libgdx] Fix versions after merging in beta branch... 2019-03-06 15:14:43 +01:00
Harald Csaszar
930d4b4015 [unity] corrected version number in version.txt file of 3.8-beta branch. 2019-03-04 18:45:14 +01:00
Harald Csaszar
b5e8d49cb2 [unity] Fixed material being cleared to null when MeshRenderer is disabled in the editor. Closes #1288. 2019-03-04 18:30:47 +01:00
Harald Csaszar
088fb2ea02 [unity] Fixed material being cleared to null when MeshRenderer is disabled in the editor. Closes #1288. 2019-03-04 18:29:46 +01:00
Harald Csaszar
8ca94c2da4 [unity] Fixed another occurrence of compile errors in Unity 2017.3 when enabling TK2D define due to asmdef files. See #1280. 2019-02-26 17:00:42 +01:00
Harald Csaszar
d64decbe3d [unity] Fixed another occurrence of compile errors in Unity 2017.3 when enabling TK2D define due to asmdef files. See #1280. 2019-02-26 16:58:20 +01:00
Harald Csaszar
37cc095375 [unity] SkeletonGraphic now supports Unity RectMask2D. Closes #1283. 2019-02-21 19:13:06 +01:00
Harald Csaszar
b706b41be6 [unity] SkeletonGraphic now supports Unity RectMask2D. Closes #1283. 2019-02-21 19:10:20 +01:00
Harald Csaszar
638e176f59 [unity] Corrected #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:56:04 +01:00
Harald Csaszar
540c61d619 [unity] Corrected #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:54:59 +01:00
Harald Csaszar
b8a208d382 [unity] Added #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:42:49 +01:00
Harald Csaszar
8b1359db0b [unity] Added #if guards for Unity 5.x compatibility before Unity added SpriteMasks. See #941. 2019-02-19 19:41:00 +01:00
Harald Csaszar
32ac918f80 [unity] Added support for Unity's SpriteMask to SkeletonAnimation and SkeletonMecanim. All mask interaction modes supported. See #941. 2019-02-19 18:58:57 +01:00
Harald Csaszar
17c19a9ce7 [unity] Added support for Unity's SpriteMask to SkeletonAnimation and SkeletonMecanim. All mask interaction modes supported. See #941. 2019-02-19 18:58:14 +01:00
Harald Csaszar
4342bcfa7d [unity] Fixed compile errors with TK2D define due to asmdef files preventing dependency. Closes #1280. 2019-02-15 13:04:22 +01:00
Harald Csaszar
8a6b75fb9a [unity] Updated Mix and Match documentation in code to mention that GetRepackedSkin() is expensive. 2019-02-12 18:03:29 +01:00
Harald Csaszar
1935d4a488 [unity] Fixed Unity Timeline editor errors after Add Spine Animation State Clip Clip due to unset Animation Reference. Closes #1257. 2019-02-11 21:31:42 +01:00
Harald Csaszar
7ee15d0627 [unity] SkeletonRenderSeparator now initializes added SkeletonPartsRenderer children correctly. Closes #1269. 2019-02-07 22:22:56 +01:00
Harald Csaszar
7b690624f3 [unity] Fixed SkeletonPartsRenderer mesh tangent error. Also fixed another potential size mismatch at mesh normals or tangents vs vertices. Closes #1265. 2019-02-06 19:17:56 +01:00
Harald Csaszar
9c8646eb70 [unity] Fixed compilation errors when TK2D define is set. Closes #1270. 2019-02-04 18:54:42 +01:00
Harald Csaszar
9dad34a387 [unity] Fixed on more occurrence of SkeletonGraphic related import error. Error message was 'Skeleton JSON file not set for SkeletonData asset'. Closes #1226. 2019-02-01 15:27:43 +01:00
Harald Csaszar
52245d55f0 [unity] Fixed SkeletonGraphic related import error occurring occasionally on first import. Error message was usually 'Skeleton JSON file not set for SkeletonData asset'. Closes #1226. 2019-01-31 14:43:39 +01:00
Harald Csaszar
29ac3d9d67 [unity] Added an additional warning when Alpha Is Transparency is enabled at PMA textures, which causes incorrect light ghosting in transparent areas. See #1266. 2019-01-29 16:37:01 +01:00
Harald Csaszar
c612c81435 [unity] Fixed previous commit's texture settings warning code preventing border artifacts when mip maps are enabled on PMA textures. Now only issues warning on Spine atlas textures. See #1266. 2019-01-28 20:08:48 +01:00
Harald Csaszar
dc676cb25a [unity] Changed default texture settings and added warning to prevent border artifacts when mip maps are enabled on PMA textures. Closes #1266. 2019-01-28 19:55:10 +01:00
Harald Csaszar
e39dbc4795 [unity] Fixed SkeletonGraphic's 'Starting Animation' property being cleared upon saving under some circumstances, closes #1252. 2019-01-28 16:28:28 +01:00
Harald Csaszar
5344d71c05 [unity] Fixed PointFollower error message on script rebuild, closes #1261. 2019-01-22 12:27:30 +01:00
Harald Csaszar
edb2fbe85d [unity] Added using and finally-dispose guards around all stream instances, see #1260. 2019-01-22 11:27:47 +01:00
Harald Csaszar
92a0d37e9b [unity] Fixed skeleton binary import, was broken by recent changes. Closes #1259. 2019-01-21 15:08:07 +01:00
Harald Csaszar
1e25ff05a6 [unity] Fixed removing unreferenced SlotBlendMode material entries, closes #1249. 2019-01-16 17:09:20 +01:00