~ubuntu-branches/ubuntu/utopic/blender/utopic-proposed

« back to all changes in this revision

Viewing changes to source/blender/nodes/shader/nodes/node_shader_tex_gradient.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
static void node_shader_init_tex_gradient(bNodeTree *UNUSED(ntree), bNode *node)
44
44
{
45
45
        NodeTexGradient *tex = MEM_callocN(sizeof(NodeTexGradient), "NodeTexGradient");
46
 
        default_tex_mapping(&tex->base.tex_mapping);
 
46
        default_tex_mapping(&tex->base.tex_mapping, TEXMAP_TYPE_POINT);
47
47
        default_color_mapping(&tex->base.color_mapping);
48
48
        tex->gradient_type = SHD_BLEND_LINEAR;
49
49