[Bf-blender-cvs] CVS commit: blender/source/blender/src drawobject.c editobject.c

Ton Roosendaal ton at blender.org
Sat Apr 8 17:58:49 CEST 2006


ton (Ton Roosendaal) 2006/04/08 17:58:49 CEST

  Modified files:
    blender/source/blender/src drawobject.c editobject.c 
  
  Log:
  Bugfix #3961
  
  When using CTRL+L for materials, you can end up with non-existing material
  indices in faces. The drawing code then was still happily drawing the old
  situation (or something random, its a static array).
  
  This commit checks the maximum amount of materials on an object, and draws
  the last available material for a non-existing index. It uses an ugly
  global yes, but this code is bad anyway. :)
  
  Revision  Changes    Path
  1.272     +6 -1      blender/source/blender/src/drawobject.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawobject.c.diff?r1=1.271&r2=1.272&cvsroot=bf-blender>
  1.304     +2 -2      blender/source/blender/src/editobject.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editobject.c.diff?r1=1.303&r2=1.304&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list