mirror of
https://github.com/godotengine/collada-exporter.git
synced 2026-01-01 01:48:22 +03:00
io_scene_dae: fixed invalid variable name
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user