Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenloader / intern / versioning_legacy.c
index 87fc61a8644e7a7ec6737147cfe7d9603370805d..30bbec1f482e66cf34a34f7a7439477cb93fa2c5 100644 (file)
@@ -1107,33 +1107,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain)
                }
        }
 
-       if (bmain->versionfile <= 231) {
-               /* new bit flags for showing/hiding grid floor and axes */
-               bScreen *sc = bmain->screen.first;
-
-               while (sc) {
-                       ScrArea *sa = sc->areabase.first;
-                       while (sa) {
-                               SpaceLink *sl = sa->spacedata.first;
-                               while (sl) {
-                                       if (sl->spacetype == SPACE_VIEW3D) {
-                                               View3D *v3d = (View3D*) sl;
-
-                                               if (v3d->gridflag == 0) {
-                                                       v3d->gridflag |= V3D_SHOW_X;
-                                                       v3d->gridflag |= V3D_SHOW_Y;
-                                                       v3d->gridflag |= V3D_SHOW_FLOOR;
-                                                       v3d->gridflag &= ~V3D_SHOW_Z;
-                                               }
-                                       }
-                                       sl = sl->next;
-                               }
-                               sa = sa->next;
-                       }
-                       sc = sc->id.next;
-               }
-       }
-
        if (bmain->versionfile <= 231) {
                bScreen *sc = bmain->screen.first;