Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenloader/intern/versioning_legacy.c')
-rw-r--r--source/blender/blenloader/intern/versioning_legacy.c8
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;