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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user