Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
## [1.0.0-preview.3] - 2019-02-19
### Added
- Fix compilation error in .NET 3.5
  • Loading branch information
Unity Technologies committed Feb 18, 2019
1 parent fbd0b6b commit 20d8654
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions Editor/PSDPlugin/PsdFile/Layers/Layer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
4 changes: 1 addition & 3 deletions Editor/PSDPlugin/PsdFile/PsdFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand All @@ -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"
}
}

0 comments on commit 20d8654

Please sign in to comment.