Generate correct Cycles node setup for quick smoke "fire" preset.

Patch by Gottfried Hofmann.
Differential Revision: https://developer.blender.org/D1103
This commit is contained in:
Thomas Dinges
2015-02-19 00:17:21 +01:00
parent 5ed2cc8070
commit a74bd1bec7

View File

@@ -388,7 +388,7 @@ class QuickSmoke(Operator):
links.new(node_add_shader_1.outputs["Shader"],
node_out.inputs["Volume"])
if self.style in {'SMOKE', 'BOTH'}:
if self.style in {'SMOKE', 'FIRE', 'BOTH'}:
# Smoke
# Add shader 2