From aba9240882f21ceed9ce767faf346d44922c4f6c Mon Sep 17 00:00:00 2001
From: Brecht Van Lommel <brechtvanlommel@pandora.be>
Date: Wed, 2 Oct 2013 17:06:05 +0000
Subject: [PATCH] FBX import: fix to set mapping node to appropriate vector
 type after change in trunk.

---
 io_scene_fbx/cycles_shader_compat.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/io_scene_fbx/cycles_shader_compat.py b/io_scene_fbx/cycles_shader_compat.py
index a72727d1e..f26fd6a9b 100644
--- a/io_scene_fbx/cycles_shader_compat.py
+++ b/io_scene_fbx/cycles_shader_compat.py
@@ -319,6 +319,7 @@ class CyclesShaderWrapper():
 
         if node_map is None:
             node_map = nodes.new(type='ShaderNodeMapping')
+            node_map.vector_type = 'TEXTURE'
             node_map.location = node_dst.location
             node_map.location.x -= CyclesShaderWrapper._col_size
 
-- 
GitLab