We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcda8ec commit 1bbac46Copy full SHA for 1bbac46
packages/core/src/base/Camera.ts
@@ -50,7 +50,7 @@ export class Camera extends BaseThree {
50
this.scene.add(this.instance);
51
}
52
setControls() {
53
- const controls = this.cameraConfig.controls;
+ const controls = this.cameraConfig.controls || {};
54
Object.assign(this.controls!, controls);
55
56
resize() {
0 commit comments