diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index 2e4f24fc0ce..7a06b647ae3 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -181,7 +181,7 @@ static void rna_Material_active_paint_texture_index_update(Main *bmain, Scene *s bScreen *sc; Material *ma = ptr->id.data; - if (ma->use_nodes && ma->nodetree && BKE_scene_use_new_shading_nodes(scene)) { + if (ma->use_nodes && ma->nodetree) { struct bNode *node; int index = 0; for (node = ma->nodetree->nodes.first; node; node = node->next) { |