fix 2018.3.2f1 compilation

This commit is contained in:
2019-01-24 01:42:36 +07:00
parent ab26d593ff
commit dcf685aed6
5 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
###### Version 1.3.14
* Fix 2018.3.2f1 compilation
###### Version 1.3.13
* Fix preview shutdown warning

View File

@@ -26,7 +26,7 @@ Convert your flash animation for Unity easy!
* Export marked "for export" clips and main timeline
* Live preview of animations in the Unity editor
Supports Unity 5.3 and newer, both Personal and Pro. Full C# source code included.
Supports Unity 2017.4 (LTS) and newer, both Personal and Pro. Full C# source code included.
Leave your rating for this Asset. It is very important for me and the development of the project :) Thank you!

View File

@@ -3,11 +3,11 @@ using UnityEditor;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Runtime.Serialization.Formatters.Binary;
using Ionic.Zlib;
using IZ = Ionic.Zlib;
using FTRuntime;
@@ -214,7 +214,7 @@ namespace FTEditor {
static byte[] CompressBuffer(byte[] bytes, System.Action<float> progress_act) {
using ( var output = new MemoryStream() ) {
using ( var compressor = new ZlibStream(output, CompressionMode.Compress, CompressionLevel.Default) ) {
using ( var compressor = new ZlibStream(output, IZ.CompressionMode.Compress, IZ.CompressionLevel.Default) ) {
var n = 0;
while ( n < bytes.Length ) {
var count = Mathf.Min(4 * 1024, bytes.Length - n);