diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-11-02 09:05:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-11-02 09:05:44 +0300 |
commit | c075629c95408a85c9914075077c9d71b6a82ce6 (patch) | |
tree | bd8dc4b99b3273047ff73223c774e2fc1e58d7b7 /render_povray | |
parent | 560888f91b03b215c30fa801fac10a63a65bfa69 (diff) |
Cleanup: redundant texture lookup
Diffstat (limited to 'render_povray')
-rw-r--r-- | render_povray/shading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render_povray/shading.py b/render_povray/shading.py index c0759184..5a371707 100644 --- a/render_povray/shading.py +++ b/render_povray/shading.py @@ -824,7 +824,7 @@ def writeTextureInfluence(mater, materialNames, LocalMaterialNames, path_image, # IMAGE SEQUENCE BEGINS if image_filename: if bpy.data.images[t.texture.image.name].source == 'SEQUENCE': - korvaa = "." + str(bpy.data.textures[t.texture.name].image_user.frame_offset + 1).zfill(3) + "." + korvaa = "." + str(t.texture.image_user.frame_offset + 1).zfill(3) + "." image_filename = image_filename.replace(".001.", korvaa) print(" seq debug ") print(image_filename) |