* patch #3876: Rotating view icon
[blender.git] / source / blender / src / usiblender.c
index 265919a4937ba69580586783b74638478cb466de..4c660a5c4a6f12cfcbbfd5c51986aacd46594f2f 100644 (file)
@@ -292,6 +292,15 @@ static void init_userdef_file(void)
                                SETCOL(btheme->tv3d.group_active, 0x66, 0xFF, 0x66, 255);
                        }
                }
+               
+               /* set defaults for 3D View rotating axis indicator */ 
+               /* since size can't be set to 0, this indicates it's not saved in .B.blend */
+               if (U.rvisize == 0) {
+                       U.rvisize = 18;
+                       U.rvibright = 2;
+                       U.uiflag |= USER_SHOW_ROTVIEWICON;
+               }
+               
        }
        
        if (U.undosteps==0) U.undosteps=32;