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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-08-14 23:18:12 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-08-14 23:21:29 +0400
commitda1801969b3e32b68c5b431b9dce4961a55f8ff4 (patch)
tree602c08191a2a0748072a5b159fcb2d28ea4a3873 /release
parent32a5313b41701a65b6cb588adef4f295989cd3f8 (diff)
Fix 'quick smoke' not rendering anything (texture coordinates was left unset)
Not quite sure why default did not work here, might need further investigation.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/object_quick_effects.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py
index 556d34bb0ac..80f72b095f0 100644
--- a/release/scripts/startup/bl_operators/object_quick_effects.py
+++ b/release/scripts/startup/bl_operators/object_quick_effects.py
@@ -367,6 +367,7 @@ class QuickSmoke(Operator):
tex_slot = mat.texture_slots.add()
tex_slot.texture = tex
+ tex_slot.texture_coords = 'ORCO'
tex_slot.use_map_color_emission = False
tex_slot.use_map_density = True
tex_slot.use_map_color_reflection = True
@@ -381,6 +382,7 @@ class QuickSmoke(Operator):
tex_slot = mat.texture_slots.add()
tex_slot.texture = tex
+ tex_slot.texture_coords = 'ORCO'
# add color ramp for flame color
ramp = tex.color_ramp