Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
PhaserEditor2D committed Nov 1, 2020
2 parents 99f4985 + 945ce30 commit 322c28d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log


## Version 3.8.1 - Nov 1, 2020

### Fixed

* Fixes atlas thumbnail generation when atlas URL is pointing to a missing file.

## Version 3.8.0 - Oct 30, 2020

### Added
Expand Down
2 changes: 1 addition & 1 deletion source/editor/plugins/phasereditor2d.ide/src/IDEPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ namespace phasereditor2d.ide {

/* program entry point */

export const VER = "3.8.0";
export const VER = "3.8.1";

async function main() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ namespace phasereditor2d.pack.core {
protected addFilesFromUrls(files: Set<io.FilePath>, urls: string[]) {

for (const url of urls) {

const file = AssetPackUtils.getFileFromPackUrl(url);
files.add(file);

if (file) {

files.add(file);
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ namespace phasereditor2d.pack.core {

this.computeUsedFiles(files);

const key = [...files].map(file => file.getFullName() + "@" + file.getModTime()).join(",");
const key = [...files]

.filter(file => file !== null && file !== undefined)

.map(file => file.getFullName() + "@" + file.getModTime()).join(",");

return key;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ namespace phasereditor2d.pack.core {

import io = colibri.core.io;
import ide = colibri.ui.ide;
import controls = colibri.ui.controls;

export class MultiatlasAssetPackItem extends BaseAtlasAssetPackItem {

Expand Down

0 comments on commit 322c28d

Please sign in to comment.