Commit 27b40b5c authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

proper reset view for tilt/roll

parent 8971d8cf
...@@ -563,8 +563,10 @@ function apply_alignment_art(tra){ ...@@ -563,8 +563,10 @@ function apply_alignment_art(tra){
// no need // no need
Map.marker._syncMeasureMarkersToBasePoint(); Map.marker._syncMeasureMarkersToBasePoint();
// sets in degrees? // sets in degrees
Map.marker.setHeading(Data.camera.heading); // proper reset view
Data.camera.heading = Data.camera.kml.heading;
Map.marker.setHeading(Data.camera.kml.heading);
x3d_initial_camera_placement(); x3d_initial_camera_placement();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment