Conflicts: CHANGES.md Source/DynamicScene/CzmlDefaults.js Source/Widgets/Dojo/CesiumViewerWidget.css Source/Widgets/Dojo/CesiumViewerWidget.html
Conflicts: Apps/CesiumViewer/CesiumViewer.js Source/Widgets/Dojo/CesiumViewerWidget.css Source/Widgets/Dojo/CesiumViewerWidget.html Source/Widgets/Dojo/CesiumViewerWidget.js
Support for CZML defined clocks.
Workaround issue #602
Setting values in the view model would cause other values in the clock to change. Since we want to synchonize the viewModel with all clock settings, we need to copy the current clock settings to temporary variables, and then set from there.
The current implementation of SceneTransitioner is fundamentally broken. It only accounts for primitives that exist at the time the transition starts. Since the visualizers add primitives on demand, the Polyline for orbits drawn in Earth/Fixed does not get added until the first frame after the transition begins. Therefore, the visualization is incorrect until the transition completes. The short term easy workaround is for the DynamicPathVisualizer to create both Earth/Fixed and ICRF Polylines at the time of construction, this way even though it will be empty when the transition starts, it will still have a TWEEN animation set up for it. This fixed is obviously specific to DynamicPathVisualizer, but that's the only place we have this problem right now. The longer term solution is that we should only have a single TWEEN animation function, and that function should set the morphTime for all primitives in the collection, or primtiives should simply always get the current morphtime from the scene during their update loop. This way if a primitive is added during a morph, it can automatically join in at the correct moprh time and mode. I'll also add that, technically, there is an additional problem with morphing dynamic paths, because we don't actually morph between the fixed and inertial frames, they snap at the very beginning of any transition in and out of 3D, they just aren't as noticeable. This should be fixable, but is a different (but related) issue.
Conflicts: Source/Widgets/Dojo/CesiumViewerWidget.css Source/Widgets/Dojo/CesiumViewerWidget.html
Widgets: SceneModePicker and BaseLayerPicker
This allows us to data-bind name to text, which is safer.
I'm not thrilled, but it gets the job done.
Also set word-wrap to break-word, so all text is always visible.
This fixes the following bug. 1. Load simple.czml into Cesium Viewer 2. Go into 2D mode 3. Scrub around with the timeline for a few seconds, you will crash every time. The issue turned out to be that a polyline had its vertex array computed while it was crossing the IDL (being split into 4 positions from 2). Later, when it was no longer crossing the IDL, it only had two positions but we didn't bother to recompute the array. This simply makes the length check happen whenever the positions are dirty and removes a bad check for IDL intersection.