Merging r38898 through r38940 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / interface / resources.c
index 22bfcb8..fd44ca3 100644 (file)
@@ -1647,6 +1647,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_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 */