[tuhopuu-cvs] CVS commit: tuhopuu3/source/blender/blenkernel/intern dmesh.c

Joseph Eagar joeeagar at prodigy.net
Tue Apr 5 04:39:58 CEST 2005


joeedh (Joseph Eagar) 2005/04/05 04:39:58 CEST

  Modified files:
    tuhopuu3/source/blender/blenkernel/intern dmesh.c 
  
  Log:
  Small bugfix, was not checking if default material existed or not, so ended up accessing a NULL pointer.
  
  this causes files without any materials to crash, sicne the default material is intended to be G.main->mat.first.
  
  Revision  Changes    Path
  1.3       +276 -0    tuhopuu3/source/blender/blenkernel/intern/dmesh.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/tuhopuu3/source/blender/blenkernel/intern/dmesh.c.diff?r1=1.2&r2=1.3&cvsroot=tuhopuu>



More information about the tuhopuu-cvs mailing list