Fixes for cycles Mapping and Vector Transform node:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 Oct 2013 17:02:59 +0000 (17:02 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 Oct 2013 17:02:59 +0000 (17:02 +0000)
commita47e6810a28714a840a83262734b109a3ac78747
treee194a32245e8467e6f5b10f823c95ceeb850837e
parentba01e5e3ebf4d94f8837dff1d263331e1bf412be
Fixes for cycles Mapping and Vector Transform node:

* Keep the Mapping node default type as Point for now, instead of Texture. The
  latter is a better default, but this is breaking API compatibility and it's
  too close to release to expect addons to be fixed in time.

* Vector Transform and Mapping nodes had properties with name "type" to set the
  type of vector, but this conflicts with the node type property, so renamed to
  vector_type now.
17 files changed:
intern/cycles/blender/addon/ui.py
intern/cycles/blender/blender_shader.cpp
source/blender/editors/space_node/drawnode.c
source/blender/makesrna/intern/rna_nodetree.c
source/blender/makesrna/intern/rna_texture.c
source/blender/nodes/shader/nodes/node_shader_mapping.c
source/blender/nodes/shader/nodes/node_shader_tex_brick.c
source/blender/nodes/shader/nodes/node_shader_tex_checker.c
source/blender/nodes/shader/nodes/node_shader_tex_environment.c
source/blender/nodes/shader/nodes/node_shader_tex_gradient.c
source/blender/nodes/shader/nodes/node_shader_tex_image.c
source/blender/nodes/shader/nodes/node_shader_tex_magic.c
source/blender/nodes/shader/nodes/node_shader_tex_musgrave.c
source/blender/nodes/shader/nodes/node_shader_tex_noise.c
source/blender/nodes/shader/nodes/node_shader_tex_sky.c
source/blender/nodes/shader/nodes/node_shader_tex_voronoi.c
source/blender/nodes/shader/nodes/node_shader_tex_wave.c