From 50ff1e843ba7c65ddd82fa501cf1acd5cfda7ff1 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 22 Jan 2024 15:32:27 -0500 Subject: [PATCH] Cleanup: Remove unnecessary use of mutable linked list iteration --- source/blender/blenloader/intern/versioning_400.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenloader/intern/versioning_400.cc b/source/blender/blenloader/intern/versioning_400.cc index f1c8aca7e18..ba8933cc6d6 100644 --- a/source/blender/blenloader/intern/versioning_400.cc +++ b/source/blender/blenloader/intern/versioning_400.cc @@ -2656,7 +2656,7 @@ void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain) if (!MAIN_VERSION_FILE_ATLEAST(bmain, 401, 13)) { FOREACH_NODETREE_BEGIN (bmain, ntree, id) { if (ntree->type == NTREE_COMPOSIT) { - LISTBASE_FOREACH_MUTABLE (bNode *, node, &ntree->nodes) { + LISTBASE_FOREACH (bNode *, node, &ntree->nodes) { if (node->type == CMP_NODE_MAP_UV) { node->custom2 = CMP_NODE_MAP_UV_FILTERING_ANISOTROPIC; }