mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Fixed SkeletonGraphic exception on some Unity versions when blend modes used. Closes #2971.
This commit is contained in:
parent
a52100cd00
commit
a2b83f338d
@ -1181,8 +1181,9 @@ namespace Spine.Unity {
|
|||||||
if (blendModeMaterial != null)
|
if (blendModeMaterial != null)
|
||||||
sharedMaterials[i] = blendModeMaterial;
|
sharedMaterials[i] = blendModeMaterial;
|
||||||
#if HAS_CULL_TRANSPARENT_MESH
|
#if HAS_CULL_TRANSPARENT_MESH
|
||||||
canvasRenderers[i].cullTransparentMesh = allowCullTransparentMesh ?
|
if (!UsesSingleSubmesh)
|
||||||
mainCullTransparentMesh : false;
|
canvasRenderers[i].cullTransparentMesh = allowCullTransparentMesh ?
|
||||||
|
mainCullTransparentMesh : false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-unity",
|
"name": "com.esotericsoftware.spine.spine-unity",
|
||||||
"displayName": "spine-unity Runtime",
|
"displayName": "spine-unity Runtime",
|
||||||
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
|
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
|
||||||
"version": "4.3.26",
|
"version": "4.3.27",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user