General particle bug fixes + few small goodies
authorJanne Karhu <jhkarh@gmail.com>
Mon, 5 Oct 2009 13:25:56 +0000 (13:25 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Mon, 5 Oct 2009 13:25:56 +0000 (13:25 +0000)
commit3816554cbc1a40dc5199c8e56e45817ec09128d5
tree2005de53d609273352eb2d4054cc03b8df258610
parenta3449771476955fd4a27eadd17ff4dce2655cc16
General particle bug fixes + few small goodies

The goodies:
* Curves can be used as normal dynamic effectors too with
  the new "curve" field shape.
* Group visualization has optional duplication counts for
  each object in the specified group.
* Object & group visualizations, which are done without
  taking the dupliobject's global position into account
  (unless the whole group is used). This is much nicer than
  the previous behavior, but I added a "Use Global Location"
  option for those who want to use it the old way.
* The active particle system's particles are now drawn a
  with theme coloured outline instead of pure white.
* Added object aligned velocity factors (buttons categorized
  and re-organized too).

Bug fixes:
* Absorption didn't work as the ui toggle button was forgotten.
* Some other force field ui tweaks.
* Crash after adding children and changing trails count.
* Display types "cross" and "axis" crashed.
* Particles weren't drawn with correct coloring.
* Billboards didn't update properly in viewport to camera
  location changes.
* Particle rotation wasn't recreated correctly from point cache.
* Changing particles amount crashed sometimes.
* Some files with child hair crashed on loading.
* Compiler warning fixes.
* Adding boids crashed on frame 1;
23 files changed:
release/scripts/ui/buttons_particle.py
release/scripts/ui/buttons_physics_common.py
source/blender/blenkernel/BKE_bvhutils.h
source/blender/blenkernel/BKE_effect.h
source/blender/blenkernel/BKE_particle.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/boids.c
source/blender/blenkernel/intern/bvhutils.c
source/blender/blenkernel/intern/effect.c
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/physics/particle_object.c
source/blender/editors/physics/physics_intern.h
source/blender/editors/physics/physics_ops.c
source/blender/editors/space_view3d/drawobject.c
source/blender/makesdna/DNA_object_force.h
source/blender/makesdna/DNA_particle_types.h
source/blender/makesrna/intern/rna_object_force.c
source/blender/makesrna/intern/rna_particle.c