diff options
author | Carlo Andreacchio <carlorules@gmail.com> | 2014-05-07 18:36:44 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-05-07 18:43:50 +0400 |
commit | 8b8d5a441f5815e83f83bacf8023e2cc3fbb2a04 (patch) | |
tree | 777b695333e690b56f501f9fe037f650c0e50a69 /intern/cycles/blender/blender_mesh.cpp | |
parent | 1d03a8b30932e6a4c4e511eef3f543590b0bcd2a (diff) |
Cycles: add support for "Use Alpha" option on image datablocks.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D486
Diffstat (limited to 'intern/cycles/blender/blender_mesh.cpp')
-rw-r--r-- | intern/cycles/blender/blender_mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp index c49086d83a7..83514879477 100644 --- a/intern/cycles/blender/blender_mesh.cpp +++ b/intern/cycles/blender/blender_mesh.cpp @@ -222,7 +222,7 @@ static void create_mesh_volume_attribute(BL::Object b_ob, Mesh *mesh, ImageManag volume_data->manager = image_manager; volume_data->slot = image_manager->add_image(Attribute::standard_name(std), - b_ob.ptr.data, animated, is_float, is_linear, INTERPOLATION_LINEAR); + b_ob.ptr.data, animated, is_float, is_linear, INTERPOLATION_LINEAR, true); } static void create_mesh_volume_attributes(Scene *scene, BL::Object b_ob, Mesh *mesh) |