[Bf-committers] Fix for animating static particles

Vidar Madsen vidarino at gmail.com
Wed Oct 26 12:23:18 CEST 2005


I have submitted a patch to the patch tracker (#3267) that fixes the
bug outlined in bug tracker item #3263.

Put short; force fields and deflectors were evaluated at completely
wrong frame numbers when using static particles. The proposed patch
passes the current frame number to make_particle_keys(), and if
particle->flag & PAF_STATIC, use current frame instead of the
particle's time.

Sample blend to demonstrate problem:
  http://vidar.gimp.org/tmp/grasstest.blend

Patch:
  http://vidar.gimp.org/tmp/static-particle-anim.patch

Result after applying patch:
  http://vidar.gimp.org/tmp/0001_0041.avi

I hope you find it acceptable. :)

Vidar


More information about the Bf-committers mailing list