~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to release/scripts/xsi_export.py

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
  mats.extend(obj.getData(mesh=1).materials)
172
172
 
173
173
  # return the materials list
174
 
  return mats
 
174
  
 
175
  # Is this correct!!?? - None materials raise an error otherwise
 
176
  # but it might screw up the indicies.. TODO... check the exported files.
 
177
  return [m for m in mats if m] 
175
178
 
176
179
# ---------------------------------------------------------------------------
177
180
# do_header writes out the header data