[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern effect.c

Ton Roosendaal ton at blender.org
Sun Aug 27 13:55:32 CEST 2006


ton (Ton Roosendaal) 2006/08/27 13:55:32 CEST

  Modified files:
    blender/source/blender/blenkernel/intern effect.c 
  
  Log:
  Bugfix #4923
  
  Particle distribution error when using Vertex Weights.
  In the unlucky case the last face in a Mesh has no weight (zero), the code
  that tries to distribute particles evenly accidentally could assign it
  still a particle, because of the 'remainder' calculus.
  
  Also only happens in cases where the remainder has a value.
  So a workaround is also to increase/decrease amount of particles.
  
  Revision  Changes    Path
  1.99      +5 -2      blender/source/blender/blenkernel/intern/effect.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/effect.c.diff?r1=1.98&r2=1.99&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list