From 26e4a5802ef891684df16b796c18c19e8b6d7e23 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Fri, 23 Apr 2010 02:25:19 +0000 Subject: [PATCH] Fix [#22121] Object Mapping - "clone" linked w/previous material/texture after Make Single User Was an error in UI display of node materials/texture lists, combined with a very weird node setup. I will be a very happy person the day we finally get rid of the terribly confusing materials-inside-materials behaviour. --- release/scripts/ui/properties_texture.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/scripts/ui/properties_texture.py b/release/scripts/ui/properties_texture.py index bbcac5a974f..d537b5c29c2 100644 --- a/release/scripts/ui/properties_texture.py +++ b/release/scripts/ui/properties_texture.py @@ -45,11 +45,12 @@ class TEXTURE_MT_envmap_specials(bpy.types.Menu): layout.operator("texture.envmap_clear", icon='FILE_REFRESH') layout.operator("texture.envmap_clear_all", icon='FILE_REFRESH') +from properties_material import active_node_mat def context_tex_datablock(context): idblock = context.material if idblock: - return idblock + return active_node_mat(idblock) idblock = context.lamp if idblock: