Skip to content

Commit

Permalink
"Uncaught ReferenceError: intersect is not defined" when using Callba…
Browse files Browse the repository at this point in the history
…ck function (k3d>=2.15.3) #438
  • Loading branch information
artur-trzesiok committed Jan 4, 2024
1 parent d520079 commit 17bc0a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "k3d",
"version": "2.16.0",
"version": "2.16.1",
"description": "3D visualization library",
"author": "k3d team",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion js/src/providers/threejs/initializers/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ function raycast(K3D, x, y, camera, click, viewMode) {
});

if (meshes.length > 0) {
intersects = intersect.concat(this.raycaster.intersectObjects(meshes));
intersects = intersects.concat(this.raycaster.intersectObjects(meshes));
}

if (intersects.length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "k3d",
"version": "2.16.0",
"version": "2.16.1",
"description": "3D visualization library",
"keywords": [
"jupyter",
Expand Down

0 comments on commit 17bc0a5

Please sign in to comment.