Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.16.24

- 修复序列帧导出报错

## v0.16.23

- 增加 json 文件后缀关联
Expand Down
5 changes: 5 additions & 0 deletions Spine/Exporters/FrameSequenceExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public FrameSequenceExporter(Vector2u resolution) : base(resolution) { }

public override void Export(string output, CancellationToken ct, params SpineObject[] spines)
{
_renderTexture = GetRenderTexture();

Directory.CreateDirectory(output);

int frameCount = GetFrameCount();
Expand Down Expand Up @@ -56,6 +58,9 @@ public override void Export(string output, CancellationToken ct, params SpineObj
}
frameIdx++;
}

_renderTexture.Dispose();
_renderTexture = null;
}
}
}
2 changes: 1 addition & 1 deletion Spine/Spine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<BaseOutputPath>$(SolutionDir)out</BaseOutputPath>
<OutputPath>$(BaseOutputPath)\$(Configuration)\$(PlatformTarget)</OutputPath>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Version>0.16.22</Version>
<Version>0.16.24</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion SpineViewer/SpineViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<BaseOutputPath>$(SolutionDir)out</BaseOutputPath>
<OutputPath>$(BaseOutputPath)\$(Configuration)\$(PlatformTarget)</OutputPath>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Version>0.16.23</Version>
<Version>0.16.24</Version>
<OutputType>WinExe</OutputType>
<UseWPF>true</UseWPF>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion SpineViewerCLI/SpineViewerCLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<BaseOutputPath>$(SolutionDir)out</BaseOutputPath>
<OutputPath>$(BaseOutputPath)\$(Configuration)\$(PlatformTarget)</OutputPath>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Version>0.16.23</Version>
<Version>0.16.24</Version>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down
Loading