You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the list of collections, click on Planets/Moons
Click on Jupiter
Nothing happens and the console includes the following error:
angular.js:13920 TypeError: d.get_camParams is not a function
at Object.h [as clickThumb] (wwtwebclient.min.js?v=5.3.66:6)
at m.a.clickThumb (wwtwebclient.min.js?v=5.3.66:9)
at fn (eval at compile (angular.min.js:1), <anonymous>:4:314)
at b (angular.js:15906)
at e (angular.js:25885)
at m.$eval (angular.js:17682)
at m.$apply (angular.js:17782)
at HTMLDivElement.<anonymous> (angular.js:25890)
at HTMLDivElement.dispatch (jquery-2.1.4.min.js:3)
at HTMLDivElement.r.handle (jquery-2.1.4.min.js:3)
The text was updated successfully, but these errors were encountered:
The problem is in clickThumb in factories/ThumbList.js. The item being clicked is an ImageSet with DataSetType = "Planet" and ReferenceFrame = "Jupiter", and when lookAt = "Sky" the existing logic doesn't handle the necessary state transition.
Looks like there's also an issue where the logic in util.getIsPlanet is incorrect — testing for get_rotation is basically a test for whether the item is an Imageset instance, which is not the right thing to check.
To reproduce:
Nothing happens and the console includes the following error:
The text was updated successfully, but these errors were encountered: