Merge branch 'blender2.7'
[blender.git] / intern / cycles / render / shader.cpp
index 11780062e44f088fb34d329cca6aa77375e334d3..a1a9cfd25f317f3eb9e9bc893a7c5b5cba8b9065 100644 (file)
@@ -647,7 +647,7 @@ void ShaderManager::get_requested_graph_features(ShaderGraph *graph,
                                                          node->get_group());
                requested_features->nodes_features |= node->get_feature();
                if(node->special_type == SHADER_SPECIAL_TYPE_CLOSURE) {
-                       BsdfNode *bsdf_node = static_cast<BsdfNode*>(node);
+                       BsdfBaseNode *bsdf_node = static_cast<BsdfBaseNode*>(node);
                        if(CLOSURE_IS_VOLUME(bsdf_node->closure)) {
                                requested_features->nodes_features |= NODE_FEATURE_VOLUME;
                        }