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:
authorPhilipp Oeser <info@graphics-engineer.com>2021-02-22 12:06:16 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-02-22 15:21:39 +0300
commite497c1b93ca518f6eac50b95f95ad48ec0221113 (patch)
treed977f537996faaf6764885ecc3782971e221ad8c
parentb1142858d4ca5b26aea80fd7ffe2d2a39d4daf3d (diff)
Fix T85865: Crash when selecting Image texture node
Typo in rB7470c10601d0. Maniphest Tasks: T85865 Differential Revision: https://developer.blender.org/D10496
-rw-r--r--source/blender/editors/space_node/node_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 30eee416b12..e261e11d713 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -703,7 +703,7 @@ void ED_node_set_active(Main *bmain, bNodeTree *ntree, bNode *node, bool *r_acti
}
}
- LISTBASE_FOREACH (World *, wo, &bmain->materials) {
+ LISTBASE_FOREACH (World *, wo, &bmain->worlds) {
if (wo->nodetree && wo->use_nodes && ntreeHasTree(wo->nodetree, ntree)) {
GPU_material_free(&wo->gpumaterial);
}