[Bf-blender-cvs] CVS commit: blender/release/scripts ac3d_import.py

Willian Padovani Germano wgermano at superig.com.br
Tue Feb 13 18:37:32 CET 2007


ianwill (Willian Padovani Germano) 2007/02/13 18:37:32 CET

  Modified files:
    blender/release/scripts ac3d_import.py 
  
  Log:
  Scripts:
  - A few imported .ac models had wrong uv's, as reported by Melchior Franz (thanks). Well known reason: the vertex indices order in new faces is rearranged if the 3rd or 4th vindex is equal to 0, because of how Blender checks for tris/quads.
  
  Fixing with that old trick of adding a vertex at index 0 in mesh.verts, adding 1 to each face vertex index, then removing the extra vertex after the model has been imported.
  
  Revision  Changes    Path
  1.20      +7 -1      blender/release/scripts/ac3d_import.py
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/release/scripts/ac3d_import.py.diff?r1=1.19&r2=1.20&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list