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){
// no need
Map.marker._syncMeasureMarkersToBasePoint();
// sets in degrees?
Map.marker.setHeading(Data.camera.heading);
// sets in degrees
// proper reset view
Data.camera.heading = Data.camera.kml.heading;
Map.marker.setHeading(Data.camera.kml.heading);
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