[Bf-blender-cvs] [2b963ecb81d] master: Cleanup: duplicate versioning block
Campbell Barton
noreply at git.blender.org
Wed Jul 11 11:41:47 CEST 2018
Commit: 2b963ecb81d9854d4d3c3e761ee04d6d500c05c0
Author: Campbell Barton
Date: Wed Jul 11 11:39:58 2018 +0200
Branches: master
https://developer.blender.org/rB2b963ecb81d9854d4d3c3e761ee04d6d500c05c0
Cleanup: duplicate versioning block
===================================================================
M source/blender/blenloader/intern/versioning_legacy.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c
index c4868af76cf..3511aefc2a5 100644
--- a/source/blender/blenloader/intern/versioning_legacy.c
+++ b/source/blender/blenloader/intern/versioning_legacy.c
@@ -1597,33 +1597,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) {
Material *ma = bmain->mat.first;
bScreen *sc = bmain->screen.first;
More information about the Bf-blender-cvs
mailing list