Merge branch '4.1' into 4.2-beta

This commit is contained in:
Harald Csaszar 2023-03-13 16:56:40 +01:00
commit 6d021ac88a
5 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
# 4.1.1
* Backport to 4.1 spine-runtimes branch.
* Blend mode support.
* Hot-reload support. The underlying `SkeletonDrawable` will be retained if the asset file names and type provided to the `SpineWidget` constructor has not changed.
# 4.2.11
* Update README.md with setup and development instructions.

View File

@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=2.17.6 <3.0.0"
sdk: '>=2.17.6 <4.0.0'
flutter: ">=3.7.3"
dependencies:

6
spine-flutter/publish.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
./setup.sh
./compile-wasm.sh
dart pub publish --dry-run
dart pub publish

View File

@ -7,7 +7,7 @@ issue_tracker: https://github.com/esotericsoftware/spine-runtimes/issues
documentation: https://esotericsoftware.com/spine-flutter
environment:
sdk: ">=2.17.6 <3.0.0"
sdk: '>=2.17.6 <4.0.0'
flutter: ">=3.7.6"
dependencies:

View File

@ -634,6 +634,7 @@ namespace Spine.Unity.Editor {
atlasAsset.atlasFile = atlasText;
List<string> pageFiles = new List<string>();
atlasAsset.Clear(); // force reload
Atlas atlas = atlasAsset.GetAtlas(onlyMetaData: true);
if (atlas != null) {
foreach (AtlasPage page in atlas.Pages)