[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x matrix.c

Ken Hughes khughes at pacific.edu
Tue Apr 25 01:00:04 CEST 2006


khughes (Ken Hughes) 2006/04/25 01:00:04 CEST

  Modified files:
    blender/source/blender/python/api2_2x matrix.c 
  
  Log:
  ===Bugfix===
  matrix.resize4x4() was incorrectly allocating a array of pointers using
  the wrong cast -- sizeof(float) instead of sizeof(float *).  Worked fine
  on 32-bit systems but caused a crash on AMD64.  Discovered by a student
  in one of my classes (kudos, Joe).
  
  Revision  Changes    Path
  1.35      +2 -2      blender/source/blender/python/api2_2x/matrix.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/matrix.c.diff?r1=1.34&r2=1.35&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list