mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-13 11:39:54 +07:00
fix 2018.3.2f1 compilation
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
###### Version 1.3.14
|
||||
* Fix 2018.3.2f1 compilation
|
||||
|
||||
###### Version 1.3.13
|
||||
* Fix preview shutdown warning
|
||||
|
||||
|
||||
@@ -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!
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user