Merge branch '4.0' into 4.1-beta, fixed conflict.

This commit is contained in:
Harald Csaszar 2021-11-15 16:20:06 +01:00
commit da6016cf07
2 changed files with 2 additions and 1 deletions

View File

@ -276,7 +276,7 @@ GameObject:
- component: {fileID: 651278530} - component: {fileID: 651278530}
- component: {fileID: 651278529} - component: {fileID: 651278529}
m_Layer: 0 m_Layer: 0
m_Name: 2 DataAssets from Exports m_Name: 2 RuntimeLoadFromExports
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0

View File

@ -411,6 +411,7 @@ namespace Spine.Unity {
} }
public bool MatchRectTransformWithBounds () { public bool MatchRectTransformWithBounds () {
if (!wasUpdatedAfterInit) Update(0);
UpdateMesh(); UpdateMesh();
if (!this.allowMultipleCanvasRenderers) if (!this.allowMultipleCanvasRenderers)