Skip to content
Snippets Groups Projects
Commit 940b6cd3 authored by Chris Foster's avatar Chris Foster
Browse files

- Changed addon name as it appears in the Addons list.

- Export: Selected Objects no longer exports children of the selected objects as well.
parent 2ded65bd
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
# ***** GPL LICENSE BLOCK *****
bl_info = {
"name": "Export DirectX Model Format (.x)",
"name": "DirectX Model Format (.x)",
"author": "Chris Foster (Kira Vakaan)",
"version": (2, 1),
"blender": (2, 5, 7),
......@@ -108,7 +108,7 @@ def ExportDirectX(Config):
Config.ExportList = [Object for Object in ExportList
if Object.parent not in ExportList]
if Config.Verbose:
print("Done")
print(" List: {}\nDone".format(Config.ExportList))
if Config.Verbose:
print("Setting up...")
......@@ -257,12 +257,13 @@ def WriteObjects(Config, ObjectList):
if Config.Verbose:
print(" Done")
ChildList = GetObjectChildren(Object)
if Config.Verbose:
print(" Writing Children...")
WriteObjects(Config, ChildList)
if Config.Verbose:
print(" Done Writing Children")
if Config.ExportMode == 1:
ChildList = GetObjectChildren(Object)
if Config.Verbose:
print(" Writing Children...")
WriteObjects(Config, ChildList)
if Config.Verbose:
print(" Done Writing Children")
if Object.type == "MESH":
if Config.Verbose:
......@@ -1237,4 +1238,4 @@ def unregister():
if __name__ == "__main__":
register()
register()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment