Fix sprite import problem

This commit is contained in:
2017-02-14 20:12:41 +07:00
parent ae5cc6de9f
commit dc77088885
3 changed files with 6 additions and 29 deletions

View File

@@ -1,101 +1,77 @@
------------------- -- Version 1.3.5 --
Fix sprite import problem
-- Version 1.3.4 -- -- Version 1.3.4 --
-------------------
Fix CS6 export problem Fix CS6 export problem
Fix unity postprocessor problems Fix unity postprocessor problems
-------------------
-- Version 1.3.3 -- -- Version 1.3.3 --
-------------------
Fix undefined unusedItems in CS6 Fix undefined unusedItems in CS6
-------------------
-- Version 1.3.2 -- -- Version 1.3.2 --
-------------------
Fix bug custom scale export with small items optimization Fix bug custom scale export with small items optimization
-------------------
-- Version 1.3.1 -- -- Version 1.3.1 --
-------------------
Fix some Unity 5.5 deprecated functions Fix some Unity 5.5 deprecated functions
-------------------
-- Version 1.3.0 -- -- Version 1.3.0 --
-------------------
ETC separated alpha support ETC separated alpha support
Export animations with custom scale (for retina) Export animations with custom scale (for retina)
New small vector scaled items optimization New small vector scaled items optimization
-------------------
-- Version 1.2.0 -- -- Version 1.2.0 --
-------------------
Add Yield instructions for wait in coroutines(SwfWaitPlayStopped, SwfWaitRewindPlaying, SwfWaitStopPlaying) Add Yield instructions for wait in coroutines(SwfWaitPlayStopped, SwfWaitRewindPlaying, SwfWaitStopPlaying)
Add unscaled delta time support(for separate animations, groups of animations or for all) Add unscaled delta time support(for separate animations, groups of animations or for all)
Fix guide type flash layers Fix guide type flash layers
Some fixes for reconvert asset problem Some fixes for reconvert asset problem
-------------------
-- Version 1.1.1 -- -- Version 1.1.1 --
-------------------
Add conversion error by shape tween in CS6 Add conversion error by shape tween in CS6
Fix life after death (problem about destroying with big lag by frame event) Fix life after death (problem about destroying with big lag by frame event)
-------------------
-- Version 1.1.0 -- -- Version 1.1.0 --
-------------------
Sequence separator is anchor frame label (not common frame label) Sequence separator is anchor frame label (not common frame label)
SwfClip access to frame labels (currentLabelCount, GetCurrentFrameLabel) SwfClip access to frame labels (currentLabelCount, GetCurrentFrameLabel)
SwfClip events (OnChangeClipEvent, OnChangeSequenceEvent, OnChangeCurrentFrameEvent) SwfClip events (OnChangeClipEvent, OnChangeSequenceEvent, OnChangeCurrentFrameEvent)
-------------------
-- Version 1.0.0 -- -- Version 1.0.0 --
-------------------
Initial asset store version Initial asset store version
Sources to dll Sources to dll
Palette bitmaps support Palette bitmaps support
-------------------
-- Version 0.5.0 -- -- Version 0.5.0 --
-------------------
Flash optimizer twicks Flash optimizer twicks
Blending modes (except Alpha and Erase) Blending modes (except Alpha and Erase)
-------------------
-- Version 0.4.0 -- -- Version 0.4.0 --
-------------------
Clip groups Clip groups
Fix move assets bug Fix move assets bug
Tint color for clips Tint color for clips
Animation API improvements Animation API improvements
-------------------
-- Version 0.3.0 -- -- Version 0.3.0 --
-------------------
Preview for animation assets and clips Preview for animation assets and clips
Animation API improvements Animation API improvements
Memory optimizations Memory optimizations
-------------------
-- Version 0.2.0 -- -- Version 0.2.0 --
-------------------
Export optimizations Export optimizations
Export clips with export names Export clips with export names
-------------------
-- Version 0.1.0 -- -- Version 0.1.0 --
-------------------
Initial alpha version Initial alpha version

View File

@@ -209,6 +209,7 @@ namespace FTEditor.Postprocessors {
atlas_importer.textureFormat = SwfAtlasFormatToImporterFormat(asset.Settings.AtlasTextureFormat); atlas_importer.textureFormat = SwfAtlasFormatToImporterFormat(asset.Settings.AtlasTextureFormat);
#endif #endif
AssetDatabase.WriteImportSettingsIfDirty(atlas_path); AssetDatabase.WriteImportSettingsIfDirty(atlas_path);
AssetDatabase.ImportAsset(atlas_path);
} }
static TextureImporter GetBitmapsAtlasImporter(SwfAsset asset) { static TextureImporter GetBitmapsAtlasImporter(SwfAsset asset) {

View File

@@ -22,7 +22,7 @@ GraphicsSettings:
- {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: [] m_PreloadedShaders: []
m_ShaderSettings: m_ShaderSettings:
useScreenSpaceShadows: 0 useScreenSpaceShadows: 1
m_BuildTargetShaderSettings: [] m_BuildTargetShaderSettings: []
m_LightmapStripping: 0 m_LightmapStripping: 0
m_FogStripping: 0 m_FogStripping: 0