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:
authorDalai Felinto <dfelinto@gmail.com>2017-08-17 16:54:05 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-08-18 18:00:45 +0300
commite8f0ee157b290e41258bf704d63c00cb2d4d2a90 (patch)
treea3a01967ef754061897d5fd77bc51015d627ddb0 /source/blender/editors/space_node
parent8ab6e8aad623a08c25c45e6dfd91804b1be09ae6 (diff)
Swap Eevee material output with (Cycles) Material Output
Since we started supporting the (Cycles) Material Output old files stopped working. There is no reason to keep the original Eevee material otuput anymore. It includes doversion for old files.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 33382af9087..b5d6104432f 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -399,7 +399,7 @@ void ED_node_shader_default(const bContext *C, ID *id)
ma->nodetree = ntree;
if (BKE_scene_uses_blender_eevee(scene)) {
- output_type = SH_NODE_OUTPUT_EEVEE_MATERIAL;
+ output_type = SH_NODE_OUTPUT_MATERIAL;
shader_type = SH_NODE_EEVEE_METALLIC;
}
else if (BKE_scene_use_new_shading_nodes(scene)) {