diff --git a/render_povray/shading.py b/render_povray/shading.py index 88c085c2b9e6058efbc136c36971fa289902c84f..750711a5e10cec84ec75f2ee599a10f145899f46 100644 --- a/render_povray/shading.py +++ b/render_povray/shading.py @@ -990,7 +990,6 @@ def writeTextureInfluence(mater, materialNames, LocalMaterialNames, path_image, if texturesDif == "" and mater.pov.replacement_text == "": if texturesAlpha != "": -. mappingAlpha = imgMapTransforms(t_alpha) if texturesAlpha and texturesAlpha.startswith("PAT_"): @@ -1053,7 +1052,7 @@ def writeTextureInfluence(mater, materialNames, LocalMaterialNames, path_image, else: if texturesDif and texturesDif.startswith("PAT_"): - tabWrite("pigment{%s %s}\n" %(texturesDif, mappingDiff)) + tabWrite("pigment{%s %s}\n" %(texturesDif, mappingDif)) else: tabWrite("pigment {\n") tabWrite("uv_mapping image_map {\n")