dermetfan / libgdx-texturepacker-gui

Automatically exported from code.google.com/p/libgdx-texturepacker-gui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delete the image file of input folder if input folder == output folder

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Select input folder with an image file (test.png)
2. Select output folder which is the same as the input folder
3. Set Filename to be "test"
4. Press pack'em all

What is the expected output? What do you see instead?
Expected output is, that the image file test.png in the input folder is the 
newly created test.png test.atlas and test.

Instead the test.png is deleted and no other files are created.

What version of the product are you using? On what operating system?
3.2.0

Please provide any additional information below.
Suggestions:
Either warn the user, if such a constrain is done or handle the files properly 
(instead of deleting test.png rename it or sth. like that!)

Original issue reported on code.google.com by simps5...@googlemail.com on 2 Mar 2015 at 2:09

I think the issue is obsolete since I tried it again and the behavior was good 
as expected.

Original comment by simps5...@googlemail.com on 2 Mar 2015 at 3:17