Merge branch '4.1' into 4.2-beta

This commit is contained in:
Mario Zechner 2023-01-16 14:57:11 +01:00
commit ba71af746b
5 changed files with 8 additions and 6 deletions

View File

@ -2,6 +2,7 @@ name: Check format
on: on:
push: push:
workflow_dispatch:
jobs: jobs:
build: build:
@ -52,6 +53,7 @@ jobs:
run: | run: |
export CLANGFORMAT=`pwd`/clang/bin/clang-format export CLANGFORMAT=`pwd`/clang/bin/clang-format
export PATH="$PATH:/root/.dotnet/tools" export PATH="$PATH:/root/.dotnet/tools"
dotnet-format --version
./formatters/format.sh ./formatters/format.sh
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' + find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
git diff git diff

View File

@ -41,7 +41,7 @@ jobs:
path: spine-godot/godot/bin/godot.windows.opt.tools.64.exe path: spine-godot/godot/bin/godot.windows.opt.tools.64.exe
godot-editor-linux: godot-editor-linux:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

View File

@ -183,7 +183,7 @@ namespace Spine.Unity {
texture = AccessPackedTextureEditor(spriteAtlas); texture = AccessPackedTextureEditor(spriteAtlas);
else else
#endif #endif
texture = AccessPackedTexture(sprites); texture = AccessPackedTexture(sprites);
Material material = materials[0]; Material material = materials[0];
#if !UNITY_EDITOR #if !UNITY_EDITOR

View File

@ -204,7 +204,7 @@ namespace Spine.Unity {
DestroyImmediate(collider); DestroyImmediate(collider);
else else
#endif #endif
Destroy(collider); Destroy(collider);
} }
} }
} }

View File

@ -208,7 +208,7 @@ namespace Spine.Unity {
DestroyImmediate(collider); DestroyImmediate(collider);
else else
#endif #endif
Destroy(collider); Destroy(collider);
} }
} }
} }