mirror of
https://github.com/godotengine/collada-exporter.git
synced 2026-01-03 10:09:35 +03:00
SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
This commit is contained in:
@@ -185,7 +185,11 @@ class DaeExporter:
|
||||
|
||||
else:
|
||||
#export relative, always, no one wants absolute paths.
|
||||
imgpath = os.path.relpath(imgpath,os.path.dirname(self.path)).replace("\\","/") # export unix compatible always
|
||||
try:
|
||||
imgpath = os.path.relpath(imgpath,os.path.dirname(self.path)).replace("\\","/") # export unix compatible always
|
||||
except:
|
||||
pass #fails sometimes, not sure why
|
||||
|
||||
|
||||
|
||||
imgid = self.new_id("image")
|
||||
|
||||
Reference in New Issue
Block a user