diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-27 05:08:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-27 05:08:06 +0300 |
commit | f595d558f0ce2488dc299652680addedfcc6180f (patch) | |
tree | 60c0224f130995bccaea8d66f06a1c9adba2e03f /source/blender/blenloader/intern | |
parent | 168d3fd528c419b1f877362ef9ffecfc8c790a8a (diff) |
Cleanup: remove unused Material.pr_light
Also no need for 14 bytes of padding.
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_legacy.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index cacd7e5720f..6bebb332c96 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -1178,14 +1178,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) if (bmain->versionfile <= 233) { bScreen *sc; - Material *ma = bmain->mat.first; - /* Object *ob = bmain->object.first; */ - - while (ma) { - if (ma->pr_light == 0) - ma->pr_light = 3; - ma = ma->id.next; - } for (sc = bmain->screen.first; sc; sc = sc->id.next) { ScrArea *sa; |