Skip to content

Commit 8f1fa55

Browse files
committed
remove png check
1 parent c210a25 commit 8f1fa55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Editor/SketchImportWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Sprite CreateSprite(JToken jsonImage)
194194
{
195195
string imagePath = Path.Combine(importFolder, (string)localImagePath);
196196

197-
if (File.Exists(imagePath) && imagePath.EndsWith(".png"))
197+
if (File.Exists(imagePath))
198198
{
199199
string imageFileName = (string)localImagePath;
200200
imageFileName = imageFileName.Replace("images/", ""); //TODO regex

0 commit comments

Comments
 (0)