diff --git a/CHANGELOG.md b/CHANGELOG.md index 17a1bdc..52a64aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.0.0-preview.3] - 2019-02-19 +### Added +- Fix compilation error in .NET 3.5 + ## [1.0.0-preview.2] - 2019-01-25 ### Added - Fix unable to rig Sprites created manually diff --git a/Editor/PSDPlugin/PsdFile/Layers/Layer.cs b/Editor/PSDPlugin/PsdFile/Layers/Layer.cs index 77dc40f..1810f53 100644 --- a/Editor/PSDPlugin/PsdFile/Layers/Layer.cs +++ b/Editor/PSDPlugin/PsdFile/Layers/Layer.cs @@ -185,9 +185,7 @@ public Layer(PsdBinaryReader reader, PsdFile psdFile) long adjustmentLayerEndPos = extraDataStartPosition + extraDataSize; while (reader.BaseStream.Position < adjustmentLayerEndPos) { - var layerInfo = LayerInfoFactory.Load(reader, - psdFile: this.PsdFile, - globalLayerInfo: false, adjustmentLayerEndPos); + var layerInfo = LayerInfoFactory.Load(reader, this.PsdFile, false, adjustmentLayerEndPos); AdditionalInfo.Add(layerInfo); } diff --git a/Editor/PSDPlugin/PsdFile/PsdFile.cs b/Editor/PSDPlugin/PsdFile/PsdFile.cs index 6ef37fe..914246b 100644 --- a/Editor/PSDPlugin/PsdFile/PsdFile.cs +++ b/Editor/PSDPlugin/PsdFile/PsdFile.cs @@ -421,9 +421,7 @@ private void LoadLayerAndMaskInfo(PsdBinaryReader reader) while (reader.BaseStream.Position < endPosition) { - var info = LayerInfoFactory.Load(reader, - psdFile: this, - globalLayerInfo: true, endPosition); + var info = LayerInfoFactory.Load(reader, this, true, endPosition); AdditionalInfo.Add(info); if (info is RawLayerInfo) diff --git a/package.json b/package.json index a34a6ad..66a3642 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.unity.2d.psdimporter", - "version": "1.0.0-preview.2", + "version": "1.0.0-preview.3", "unity": "2018.3", "displayName": "2D PSD Importer", "description": "A ScriptedImporter for importing Adobe Photoshop file format. The ScriptedImporter is currently targeted for users who wants to create multi Sprite character animation using 2D Animation v2.", @@ -16,7 +16,7 @@ }, "repository": { "type": "git", - "url": "https://gitlab.cds.internal.unity3d.com/upm-packages/2D/com.unity.2d.psdimporter.git", - "revision": "2f0b4bdcc6ee5a7942a85118a5588289af5b8cbd" + "url": "git@github.cds.internal.unity3d.com:unity/com.unity.2d.psdimporter.git", + "revision": "acc408ecd9c2e774cd8d4a0e9c4f6d5e4d6d3b17" } }