Skip to content

Commit

Permalink
Merge pull request #6495 from rawnsley/matrix-init-for-browser-freeze
Browse files Browse the repository at this point in the history
Empty transform matrix causing reference errors
  • Loading branch information
Exairnous authored Aug 28, 2024
2 parents c3f8f7a + 699187a commit 49fe109
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/components/hoverable-visuals.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import { showHoverEffect } from "../utils/permissions-utils";

const interactorOneTransform = [];
const interactorTwoTransform = [];
const interactorOneTransform = [

Check failure on line 3 in src/components/hoverable-visuals.js

View workflow job for this annotation

GitHub Actions / test-and-deploy-storybook

Replace `⏎··1,·0,·0,·0,⏎··0,·1,·0,·0,⏎··0,·0,·1,·0,⏎··0,·0,·0,·1⏎` with `1,·0,·0,·0,·0,·1,·0,·0,·0,·0,·1,·0,·0,·0,·0,·1`
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
];
const interactorTwoTransform = [

Check failure on line 9 in src/components/hoverable-visuals.js

View workflow job for this annotation

GitHub Actions / test-and-deploy-storybook

Replace `⏎··1,·0,·0,·0,⏎··0,·1,·0,·0,⏎··0,·0,·1,·0,⏎··0,·0,·0,·1⏎` with `1,·0,·0,·0,·0,·1,·0,·0,·0,·0,·1,·0,·0,·0,·0,·1`
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
];

export const validMaterials = ["MeshStandardMaterial", "MeshBasicMaterial", "MeshPhongMaterial"];
/**
Expand Down

0 comments on commit 49fe109

Please sign in to comment.