Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
## [8.0.5] - 2024-05-06
### Fixed
- Fixed layers are not shown in LayerImportSettings after unselecting all layers and applying. (Case DANB-569)
  • Loading branch information
Unity Technologies committed May 6, 2024
1 parent b2dd813 commit e85fc34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [8.0.5] - 2024-05-06
### Fixed
- Fixed layers are not shown in LayerImportSettings after unselecting all layers and applying. (Case DANB-569)

## [8.0.4] - 2023-12-14
### Fixed
- Provide custom packing override for users to override to address DANB-526. (Case DANB-526)
Expand Down
2 changes: 1 addition & 1 deletion Editor/PSDImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,7 @@ void EnsureSingleSpriteExist()

void RegisterAssets(AssetImportContext ctx, TextureGenerationOutput output)
{
ctx.AddObjectToAsset("PSDImportData", m_ImportData);
if ((output.sprites == null || output.sprites.Length == 0) && output.texture == null)
{
Debug.LogWarning(TextContent.noSpriteOrTextureImportWarning, this);
Expand Down Expand Up @@ -802,7 +803,6 @@ void RegisterAssets(AssetImportContext ctx, TextureGenerationOutput output)
RegisterSprites(ctx, output, assetNameGenerator);
RegisterSkeletonAsset(ctx, output, assetName);

ctx.AddObjectToAsset("PSDImportData", m_ImportData);
ctx.SetMainObject(mainAsset);
}

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.unity.2d.psdimporter",
"version": "8.0.4",
"version": "8.0.5",
"unity": "2022.2",
"displayName": "2D PSD Importer",
"description": "A ScriptedImporter for importing Adobe Photoshop PSB (Photoshop Big) file format. The ScriptedImporter is currently targeted for users who wants to create multi Sprite character animation using Unity 2D Animation Package.",
Expand All @@ -11,12 +11,12 @@
],
"category": "2D",
"dependencies": {
"com.unity.2d.animation": "9.1.0",
"com.unity.2d.animation": "9.1.1",
"com.unity.2d.common": "8.0.2",
"com.unity.2d.sprite": "1.0.0"
},
"relatedPackages": {
"com.unity.2d.psdimporter.tests": "8.0.4"
"com.unity.2d.psdimporter.tests": "8.0.5"
},
"samples": [
{
Expand All @@ -26,15 +26,15 @@
}
],
"_upm": {
"changelog": "### Fixed\n- Provide custom packing override for users to override to address DANB-526. (Case DANB-526)"
"changelog": "### Fixed\n- Fixed layers are not shown in LayerImportSettings after unselecting all layers and applying. (Case DANB-569)"
},
"upmCi": {
"footprint": "9bdbb27ec3da5192693910c6a54d52a0ce0568db"
"footprint": "869014d7c4e1a158edf04ac17e642e1718427077"
},
"documentationUrl": "https://docs.unity3d.com/Packages/[email protected]/manual/index.html",
"repository": {
"url": "https://github.cds.internal.unity3d.com/unity/2d.git",
"type": "git",
"revision": "dfc01cb8076aa8ca74afe1ded252f91c99b080ac"
"revision": "c76edf174a772eda3d3152a9d38ad8c364cce43e"
}
}

0 comments on commit e85fc34

Please sign in to comment.