diff options
author | Ton Roosendaal <ton@blender.org> | 2013-01-24 23:31:44 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-01-24 23:31:44 +0400 |
commit | ca7b277c120e4622c816b8a6d922d64ccf050bd0 (patch) | |
tree | f3007665f14fa0a6311e4a89fc974b286296468c /source/blender/editors | |
parent | a97757c156e500e3e3593c8b82cfe2bb2ce27c45 (diff) |
Disabled commit that was rendering Blender Internal for Cycles nodes.
Apparently Material nodes allow a mix of Cycles and BI Materials. Nifty!
I should read more docs, like this cool tutorial:
http://urchn.org/post/combining-blender-internal-and-cycles-in-one-render
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 6477d39e19b..d5d2ace6fa7 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -702,19 +702,6 @@ static void node_draw_basis(const bContext *C, ARegion *ar, SpaceNode *snode, bN if (node->flag & NODE_MUTED) UI_ThemeColorBlend(color_id, TH_REDALERT, 0.5f); - /* debug info: using wrong shaders in wrong context */ - if (ntree->type == NTREE_SHADER) { - if (snode->flag & SNODE_NEW_SHADERS) { - if (node->typeinfo->compatibility == NODE_OLD_SHADING) - UI_ThemeColor(TH_REDALERT); - } - else { - if (node->typeinfo->compatibility == NODE_NEW_SHADING) - UI_ThemeColor(TH_REDALERT); - } - } - - #ifdef WITH_COMPOSITOR if (ntree->type == NTREE_COMPOSIT && (snode->flag & SNODE_SHOW_HIGHLIGHT)) { |