svn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
[blender.git] / source / blender / editors / interface / resources.c
index 2b4003c7af055463b2f8285cddc0ac5992a8231c..16f3789ecb1757cd9c6c5ecdd91f2ef3347942fc 100644 (file)
@@ -1585,6 +1585,12 @@ void init_userdef_do_versions(void)
        if (U.anisotropic_filter <= 0)
                U.anisotropic_filter = 1;
 
+       if (U.ndof_sensitivity == 0.0f) {
+               U.ndof_sensitivity = 1.0f;
+               U.ndof_flag = NDOF_SHOW_GUIDE | NDOF_LOCK_HORIZON |
+                       NDOF_SHOULD_PAN | NDOF_SHOULD_ZOOM | NDOF_SHOULD_ROTATE;
+       }
+
        /* funny name, but it is GE stuff, moves userdef stuff to engine */
 // XXX space_set_commmandline_options();
        /* this timer uses U */