export_cal3d - exporting all actions (option) wasnt working

export_fbx - blender cameras now work properly (converted lens angle, rotate to the right axis)
	Made meshes, armatures and cameras use the same namespace.
DirectX8Exporter - update from David Teviotdale, change names of exported objects so some DX readers dont fail
xsi_export - Null materials made the export fail (python error).
	This may not be a correct solution since material indicies could be messed up now. I have no way of reading these files.
This commit is contained in:
2007-04-27 17:19:26 +00:00
parent ad470b6971
commit c84d18a679
4 changed files with 119 additions and 96 deletions

View File

@@ -171,7 +171,10 @@ def get_materials(obj):
mats.extend(obj.getData(mesh=1).materials)
# return the materials list
return mats
# Is this correct!!?? - None materials raise an error otherwise
# but it might screw up the indicies.. TODO... check the exported files.
return [m for m in mats if m]
# ---------------------------------------------------------------------------
# do_header writes out the header data