Skip to content

Commit

Permalink
Prepare release 6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Salmen committed Oct 3, 2023
1 parent ed9c464 commit 4668d94
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 6.0.1

- Avoid window reference if absolute url is provided [#77](https://github.com/kaisalmen/WWOBJLoader/pull/77)
- Added [Offscreen canvas example](https://github.com/kaisalmen/WWOBJLoader/blob/main/packages/examples/obj2_basic_offscreen.html)
- Updated dependencies and aligned code with type definitions of three.js release 156.

## 6.0.0

- Converted all code to TypeScript
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"@react-three/fiber": "~8.14.3",
"wwobjloader2": "6.0.1-next.2",
"wwobjloader2": "~6.0.1",
"wtd-core": "2.2.0",
"wtd-three-ext": "2.2.0",
"lil-gui": "~0.18.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,8 @@ export class OBJLoader2BasicExampleOffscreen {
taskTypeName: execMessage.name,
message: execMessage,
transferables: [offscreen],
// decouple result evaluation ...
onComplete: (m: WorkerTaskMessageType) => {
const wtm = WorkerTaskMessage.unpack(m, false);
console.log(wtm);
if (wtm.payloads.length === 1) {
console.log(wtm.payloads[0]);
}
console.log('Received final command: ' + wtm.cmd);
console.log('Received final command: ' + m.cmd);
}
});
console.log(`enqueueWorkerExecutionPlan finished: ${resultExec}`);
Expand Down
2 changes: 1 addition & 1 deletion packages/objloader2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wwobjloader2",
"version": "6.0.1-next.2",
"version": "6.0.1",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down

0 comments on commit 4668d94

Please sign in to comment.