Merge branch 'master' into blender2.8
[blender.git] / intern / cycles / blender / blender_shader.cpp
index 15d633b5c9ae5f3d441d6bbb86ce9141010d5398..8847d651b02445bd3c69af8794fe196b8e07ad1a 100644 (file)
@@ -820,6 +820,9 @@ static ShaderNode *add_node(Scene *scene,
                                break;
                        case BL::ShaderNodeTexIES::mode_INTERNAL:
                                ies->ies = get_text_datablock_content(b_ies_node.ies().ptr);
+                               if(ies->ies.empty()) {
+                                       ies->ies = "\n";
+                               }
                                break;
                }
                node = ies;