mirror of
https://github.com/godotengine/collada-exporter.git
synced 2026-01-01 01:48:22 +03:00
Merge pull request #27 from paper-pauper/author-name
Added proper author field
This commit is contained in:
@@ -1577,11 +1577,9 @@ class DaeExporter:
|
||||
|
||||
def export_asset(self):
|
||||
self.writel(S_ASSET, 0, "<asset>")
|
||||
# Why is this time stuff mandatory?, no one could care less...
|
||||
self.writel(S_ASSET, 1, "<contributor>")
|
||||
# Who made Collada, the FBI ?
|
||||
self.writel(S_ASSET, 2, "<author> Anonymous </author>")
|
||||
# Who made Collada, the FBI ?
|
||||
author = bpy.context.user_preferences.system.author or "Anonymous"
|
||||
self.writel(S_ASSET, 2, "<author>{}</author>".format(author))
|
||||
self.writel(
|
||||
S_ASSET, 2, "<authoring_tool>Collada Exporter for Blender 2.6+, "
|
||||
"by Juan Linietsky (juan@codenix.com)</authoring_tool>")
|
||||
|
||||
Reference in New Issue
Block a user