Skip to content

Commit 6e8d505

Browse files
committed
Update plugin for 1.9.7-beta
1 parent f0baf0a commit 6e8d505

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed
Binary file not shown.

texturepacker/pluginsrc/com/defold/bob/pipeline/tp/AtlasBuilder.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,11 +414,9 @@ public void build(Task task) throws CompileExceptionError, IOException {
414414
throw new CompileExceptionError(task.input(0), -1, e.getMessage(), e);
415415
}
416416

417-
byte[] texturePayload = TextureUtil.generateResultToByteArray(generateResult);
418-
419417
//System.out.printf("DEBUG: %s\n", TextFormat.printToString(textureSet));
420418

421419
task.output(0).setContent(textureSet.toByteArray());
422-
task.output(1).setContent(texturePayload);
420+
TextureUtil.writeGenerateResultToResource(generateResult, task.output(1));
423421
}
424422
}

utils/build_plugins.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ set -e
77
PROJECT=texturepacker
88
DEFAULT_SERVER=https://build-stage.defold.com
99

10-
# 1.9.7 compatible
11-
# Branch: https://github.com/defold/defold/tree/refs/heads/issue-9605-append-texture-data-after-protobuf
12-
DEFOLDSDK=e0bde70f7489f4e5022b4f3fd69b3a26176d7df6
10+
# 1.9.7 beta compatible
11+
DEFOLDSDK=64df121ee4aecbbffbd5c7dcb7197d7186d3feb6
1312

1413
if [ "" == "${BOB}" ]; then
1514
BOB=${DYNAMO_HOME}/share/java/bob.jar

0 commit comments

Comments
 (0)