Skip to content

Commit 784aafb

Browse files
committed
remove unused savedPose from camera.js
1 parent f87c296 commit 784aafb

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/components/camera.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ module.exports.Component = registerComponent('camera', {
7979
// Camera disabled. Set camera to another camera.
8080
system.disableSpectatorCamera();
8181
}
82-
83-
this.savedPose = {
84-
position: el.getAttribute('position'),
85-
rotation: el.getAttribute('rotation')
86-
};
8782
},
8883

8984
/**

tests/components/geometry.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ suite('geometry', function () {
1818
suite('update', function () {
1919
test('allows empty geometry', function () {
2020
this.el.setAttribute('geometry', '');
21-
this.el.setAttribute('geometry', '');
2221
});
2322

2423
test('creates geometry', function () {

0 commit comments

Comments
 (0)