mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fix fomatting script, apply formatting.
This commit is contained in:
parent
beea7c5b4d
commit
d7bb172c95
@ -9,7 +9,6 @@ setup() {
|
||||
cp $dir/build.gradle $dir/..
|
||||
cp $dir/settings.gradle $dir/..
|
||||
cp $dir/.editorconfig $dir/../spine-csharp
|
||||
cp $dir/.editorconfig $dir/../spine-xna
|
||||
cp $dir/.editorconfig $dir/../spine-monogame
|
||||
cp $dir/.editorconfig $dir/../spine-unity
|
||||
}
|
||||
@ -19,7 +18,6 @@ cleanup() {
|
||||
rm $dir/../build.gradle
|
||||
rm $dir/../settings.gradle
|
||||
rm $dir/../spine-csharp/.editorconfig
|
||||
rm $dir/../spine-xna/.editorconfig
|
||||
rm $dir/../spine-monogame/.editorconfig
|
||||
rm $dir/../spine-unity/.editorconfig
|
||||
}
|
||||
@ -31,7 +29,6 @@ setup
|
||||
pushd $dir/..
|
||||
./formatters/gradlew spotlessApply
|
||||
dotnet-format spine-csharp/spine-csharp.sln
|
||||
dotnet-format -f spine-xna
|
||||
dotnet-format -f spine-monogame
|
||||
dotnet-format -f spine-unity
|
||||
popd
|
||||
|
||||
@ -921,8 +921,7 @@ namespace spine {
|
||||
if (attachmentRTTI.isExactly(RegionAttachment::rtti)) {
|
||||
if (static_cast<RegionAttachment *>(attachment)->getColor().a == 0)
|
||||
return true;
|
||||
}
|
||||
else if (attachmentRTTI.isExactly(MeshAttachment::rtti)) {
|
||||
} else if (attachmentRTTI.isExactly(MeshAttachment::rtti)) {
|
||||
if (static_cast<MeshAttachment *>(attachment)->getColor().a == 0)
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user