diff options
author | Segey Lapin <slapin@ossfas.org> | 2015-02-03 23:21:31 +0300 |
---|---|---|
committer | Segey Lapin <slapin@ossfas.org> | 2015-02-04 04:40:09 +0300 |
commit | 2c8cc632d2c04c88ae9a7fe28b2d99794c1abd56 (patch) | |
tree | f5d8220f5c9e86459c925477708e349247822546 | |
parent | 67d357191ff74b2cfc80015941363a97e7ee19fd (diff) |
io_scene_dae: fixed invalid variable name
-rw-r--r-- | tools/export/blender25/io_scene_dae/export_dae.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/export/blender25/io_scene_dae/export_dae.py b/tools/export/blender25/io_scene_dae/export_dae.py index 8161f05bf8..8e751fc33c 100644 --- a/tools/export/blender25/io_scene_dae/export_dae.py +++ b/tools/export/blender25/io_scene_dae/export_dae.py @@ -212,8 +212,8 @@ class DaeExporter: imgid = self.new_id("image") if (not os.path.isfile(imgpath)): - if img_tmp_path.endswith((".bmp",".rgb",".png",".jpeg",".jpg",".jp2",".tga",".cin",".dpx",".exr",".hdr",".tif")): - imgpath="images/"+os.path.basename(img_tmp_path) + if imgpath.endswith((".bmp",".rgb",".png",".jpeg",".jpg",".jp2",".tga",".cin",".dpx",".exr",".hdr",".tif")): + imgpath="images/"+os.path.basename(imgpath) else: imgpath="images/"+image.name+".png" |