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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-21 05:57:46 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-21 05:57:46 +0400
commit22f421a9eea41262ea9a327862afb233c22d98aa (patch)
tree6381e0b9008347c6bfa2a6981998f9e98a067cab /source/blender/editors/space_node
parent6dfec894f9ae33ae30a28cd9ab4e7f49c5a4ab48 (diff)
2.5: Texture buttons preview now has an option to display the
texture, the material, or both side by side.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/space_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c
index ac3a884c5f8..7c6667a83f2 100644
--- a/source/blender/editors/space_node/space_node.c
+++ b/source/blender/editors/space_node/space_node.c
@@ -168,7 +168,7 @@ static void node_area_refresh(const struct bContext *C, struct ScrArea *sa)
if(snode->treetype==NTREE_SHADER) {
Material *ma= (Material *)snode->id;
if(ma->use_nodes)
- ED_preview_shader_job(C, sa, snode->id, 100, 100);
+ ED_preview_shader_job(C, sa, snode->id, NULL, 100, 100);
}
else if(snode->treetype==NTREE_COMPOSIT) {
Scene *scene= (Scene *)snode->id;