Fix review comments #27

Merged
Bogdan Nagirniak merged 14 commits from BLEN-392 into hydra-render 2023-04-21 15:02:44 +02:00
Showing only changes of commit 0a3ed69a0f - Show all commits

View File

@ -109,7 +109,7 @@ def export_mtlx(material):
if not doc: if not doc:
return "" return ""
mtlx_file = mx_utils.get_temp_file(".mtlx", material.name) mtlx_file = mx_utils.get_temp_file(".mtlx", str(material.as_pointer()))
mx_utils.export_to_file(doc, mtlx_file, export_deps=True, copy_deps=False) mx_utils.export_to_file(doc, mtlx_file, export_deps=True, copy_deps=False)
return str(mtlx_file) return str(mtlx_file)