From a696ca06bad5731d7edf543c016d4bd0512aee06 Mon Sep 17 00:00:00 2001 From: Nobody Really Date: Wed, 31 Aug 2016 10:52:23 +0200 Subject: [PATCH] Added proper author field --- io_scene_dae/export_dae.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/io_scene_dae/export_dae.py b/io_scene_dae/export_dae.py index 157ef5c..f6a2b90 100644 --- a/io_scene_dae/export_dae.py +++ b/io_scene_dae/export_dae.py @@ -1577,11 +1577,9 @@ class DaeExporter: def export_asset(self): self.writel(S_ASSET, 0, "") - # Why is this time stuff mandatory?, no one could care less... self.writel(S_ASSET, 1, "") - # Who made Collada, the FBI ? - self.writel(S_ASSET, 2, " Anonymous ") - # Who made Collada, the FBI ? + author = bpy.context.user_preferences.system.author or "Anonymous" + self.writel(S_ASSET, 2, "{}".format(author)) self.writel( S_ASSET, 2, "Collada Exporter for Blender 2.6+, " "by Juan Linietsky (juan@codenix.com)")