diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-06-22 20:11:06 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-06-22 20:13:50 +0300 |
commit | 3a48147b8ab92e4828157ec7a3a1a75dd1a6b964 (patch) | |
tree | b1b3875b83eda3b5213fd2318ba8751819c0b337 /source/blender/blenloader/intern/versioning_280.c | |
parent | 0b15353baa5c7c5b57ccb5dff8ef0fdf0d8beb5d (diff) |
Revert "Enhanced stats/reports for blendfile reading."
This change crashes library linking operators, related tests and probably more.
This reverts commit f8d219dfd4c31a918e33cb715472d91a5cd3fd51.
Ref D11583
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 0059074c8ad..bf8f7eeca5c 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -1912,9 +1912,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) FOREACH_NODETREE_END; if (error & NTREE_DOVERSION_NEED_OUTPUT) { - BKE_report(fd->reports != NULL ? fd->reports->reports : NULL, - RPT_ERROR, - "Eevee material conversion problem. Error in console"); + BKE_report(fd->reports, RPT_ERROR, "Eevee material conversion problem. Error in console"); printf( "You need to connect Principled and Eevee Specular shader nodes to new material " "output " @@ -1922,9 +1920,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) } if (error & NTREE_DOVERSION_TRANSPARENCY_EMISSION) { - BKE_report(fd->reports != NULL ? fd->reports->reports : NULL, - RPT_ERROR, - "Eevee material conversion problem. Error in console"); + BKE_report(fd->reports, RPT_ERROR, "Eevee material conversion problem. Error in console"); printf( "You need to combine transparency and emission shaders to the converted Principled " "shader nodes.\n"); |