mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 17:08:51 +00:00
won't mount if cameraAngleOfView undefined
This commit is contained in:
parent
5a8f1d542e
commit
ae623b8552
@ -293,13 +293,7 @@ export default {
|
|||||||
return this.cameraPan ?? this.heading;
|
return this.cameraPan ?? this.heading;
|
||||||
},
|
},
|
||||||
cameraAngleOfView() {
|
cameraAngleOfView() {
|
||||||
const cameraAngleOfView = this.transformations?.cameraAngleOfView;
|
return this.transformations?.cameraAngleOfView;
|
||||||
|
|
||||||
if (!cameraAngleOfView) {
|
|
||||||
console.warn('No Camera Angle of View provided');
|
|
||||||
}
|
|
||||||
|
|
||||||
return cameraAngleOfView;
|
|
||||||
},
|
},
|
||||||
camAngleAndPositionStyle() {
|
camAngleAndPositionStyle() {
|
||||||
const translateX = this.transformations?.translateX;
|
const translateX = this.transformations?.translateX;
|
||||||
|
Loading…
Reference in New Issue
Block a user