Skip to content

Commit

Permalink
Merge pull request #66 from Hohenheimsenberg/master
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
azakhary committed May 7, 2015
2 parents ba3f8b7 + b1c49e9 commit 86913aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/com/uwsoft/editor/controlles/ResolutionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,10 @@ public void resizeImagesTmpDirToResolution(String packName, File sourceFolder, R
TexturePacker.Settings settings = new TexturePacker.Settings();

settings.flattenPaths = true;
settings.maxHeight = getMinSquareNum(resolution.height);
settings.maxWidth = getMinSquareNum(resolution.height);
// settings.maxHeight = getMinSquareNum(resolution.height);
// settings.maxWidth = getMinSquareNum(resolution.height);
settings.maxHeight = Integer.parseInt(dataManager.getCurrentProjectVO().texturepackerHeight);
settings.maxWidth = Integer.parseInt(dataManager.getCurrentProjectVO().texturepackerWidth);
settings.filterMag = Texture.TextureFilter.Linear;
settings.filterMin = Texture.TextureFilter.Linear;

Expand Down

0 comments on commit 86913aa

Please sign in to comment.