@@ -83,6 +83,15 @@ void TextWindow::ScreenChangeBackFaces(int link, uint32_t v) {
8383 SS.GW .Invalidate (/* clearPersistent=*/ true );
8484}
8585
86+ void TextWindow::ScreenChangeTurntableNav (int link, uint32_t v) {
87+ SS.turntableNav = !SS.turntableNav ;
88+ if (SS.turntableNav ) {
89+ // If turntable nav is being turned on, align view so Z is vertical
90+ SS.GW .AnimateOnto (Quaternion::From (Vector::From (-1 , 0 , 0 ), Vector::From (0 , 0 , 1 )),
91+ SS.GW .offset );
92+ }
93+ }
94+
8695void TextWindow::ScreenChangeShowContourAreas (int link, uint32_t v) {
8796 SS.showContourAreas = !SS.showContourAreas ;
8897 SS.GW .Invalidate ();
@@ -306,13 +315,14 @@ void TextWindow::ShowConfiguration() {
306315 Printf (false , " %Fd%f%Ll%s check sketch for closed contour%E" ,
307316 &ScreenChangeCheckClosedContour,
308317 SS.checkClosedContour ? CHECK_TRUE : CHECK_FALSE);
309- Printf (false , " %Fd%f%Ll%s enable automatic line constraints%E" ,
310- &ScreenChangeAutomaticLineConstraints,
311- SS.automaticLineConstraints ? CHECK_TRUE : CHECK_FALSE);
312318 Printf (false , " %Fd%f%Ll%s show areas of closed contours%E" ,
313319 &ScreenChangeShowContourAreas,
314320 SS.showContourAreas ? CHECK_TRUE : CHECK_FALSE);
315-
321+ Printf (false , " %Fd%f%Ll%s enable automatic line constraints%E" ,
322+ &ScreenChangeAutomaticLineConstraints,
323+ SS.automaticLineConstraints ? CHECK_TRUE : CHECK_FALSE);
324+ Printf (false , " %Fd%f%Ll%s use turntable mouse navigation%E" , &ScreenChangeTurntableNav,
325+ SS.turntableNav ? CHECK_TRUE : CHECK_FALSE);
316326 Printf (false , " " );
317327 Printf (false , " %Ft autosave interval (in minutes)%E" );
318328 Printf (false , " %Ba %d %Fl%Ll%f[change]%E" ,
0 commit comments