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

Willian Padovani Germano wgermano at superig.com.br
Sat Feb 10 16:11:11 CET 2007


ianwill (Willian Padovani Germano) 2007/02/10 16:11:11 CET

  Modified files:
    blender/release/scripts ac3d_import.py 
  
  Log:
  Scripts:
  - Fixing bug #5950 reported by Stewart Andreason (thanks):
  http://projects.blender.org/tracker/?func=detail&atid=125&aid=5950&group_id=9
  
  Importing .ac models created Blender objects with user count equal to 2, instead of 1 (so they couldn't be deleted in Blender), because the script kept a second reference to each created Blender object and so Python didn't deallocate things properly at the end of the script.
  
  Now these extra references are deleted in the script, preventing the problem. But this is surely something to fix in the API itself.
  
  Revision  Changes    Path
  1.18      +13 -6     blender/release/scripts/ac3d_import.py
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/release/scripts/ac3d_import.py.diff?r1=1.17&r2=1.18&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list