diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-08-17 16:54:05 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-08-18 18:00:45 +0300 |
commit | e8f0ee157b290e41258bf704d63c00cb2d4d2a90 (patch) | |
tree | a3a01967ef754061897d5fd77bc51015d627ddb0 /source/blender/editors/space_node | |
parent | 8ab6e8aad623a08c25c45e6dfd91804b1be09ae6 (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.c | 2 |
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)) { |