Merge pull request #1336 from slapin/exporter2
io_scene_dae: fixed invalid variable name
This commit is contained in:
commit
f24fca70ab
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue