Cycles / HSV Separator and Combine node:
[blender.git] / intern / cycles / blender / blender_shader.cpp
index d0b83d9e55379e50f40406b8adb1669b2c694d8d..469ba15d291fa7a7746f892495faf18935f08f95 100644 (file)
@@ -260,8 +260,8 @@ static ShaderNode *add_node(Scene *scene, BL::BlendData b_data, BL::Scene b_scen
                BL::ShaderNodeVectorTransform b_vector_transform_node(b_node);
                VectorTransformNode *vtransform = new VectorTransformNode();
                vtransform->type = VectorTransformNode::type_enum[b_vector_transform_node.type()];
-               vtransform->convert_from = VectorTransformNode::convert_from_enum[b_vector_transform_node.convert_from()];
-               vtransform->convert_to = VectorTransformNode::convert_to_enum[b_vector_transform_node.convert_to()];
+               vtransform->convert_from = VectorTransformNode::convert_space_enum[b_vector_transform_node.convert_from()];
+               vtransform->convert_to = VectorTransformNode::convert_space_enum[b_vector_transform_node.convert_to()];
                node = vtransform;
        }
        else if (b_node.is_a(&RNA_ShaderNodeNormal)) {