diff options
author | Thomas Dinges <blender@dingto.org> | 2014-05-30 16:32:32 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-05-30 16:32:59 +0400 |
commit | 2c69f1e574587c2364e9a94b45d0b363ffeebf61 (patch) | |
tree | 0f32308e4c4dfe88a7a4fe7a98ecb9c5ba8116d3 /intern/cycles/app | |
parent | a26e41c0b9cda257a0470d40e022180fad98c239 (diff) |
Cleanup: Remove unused total power Emission code in Cycles, that was never exposed in the UI.
Differential Revision: https://developer.blender.org/D562
Diffstat (limited to 'intern/cycles/app')
-rw-r--r-- | intern/cycles/app/cycles_xml.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index d5ef30e5c6f..de554fba954 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -550,9 +550,7 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug snode = hair; } else if(string_iequals(node.name(), "emission")) { - EmissionNode *emission = new EmissionNode(); - xml_read_bool(&emission->total_power, node, "total_power"); - snode = emission; + snode = new EmissionNode(); } else if(string_iequals(node.name(), "ambient_occlusion")) { snode = new AmbientOcclusionNode(); |