Skip to content

Commit

Permalink
remove camera argument from CameraRig
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyGlt authored and mgermerie committed Jun 19, 2023
1 parent b924cd7 commit 2af65b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/CameraUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ class CameraRig extends THREE.Object3D {
}

export function getRig(camera) {
rigs[camera.uuid] = rigs[camera.uuid] || new CameraRig(camera);
rigs[camera.uuid] = rigs[camera.uuid] || new CameraRig();
return rigs[camera.uuid];
}

Expand Down

0 comments on commit 2af65b7

Please sign in to comment.