Disconnect/connect hair:
authorJanne Karhu <jhkarh@gmail.com>
Sat, 5 Sep 2009 20:12:08 +0000 (20:12 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Sat, 5 Sep 2009 20:12:08 +0000 (20:12 +0000)
commit08b8fc34cfc082d73e657d1c2941662c36bc3514
tree221eb2513a3830e8bd51e61ccbb44529afca5f58
parent05c44056dc48bf718475a1e98c9abbd6cc00a535
Disconnect/connect hair:
- Moves hair from face-space to global space and back.
- Allows for editing of emitter mesh after hair combing.
- Disconnect hair before doing topology changing changes in mesh edit mode, connect after changes.
- Notes:
* The closest location on emitter surface to the hair root is used to connect the hair.
* Emitter deflection, sticky roots and add brush don't apply for disconnect hair in particle mode.
- Todo for future:
* Copy disconnected hair from object to another (when 2.5 has proper copy operators again).
* Possible automatic disconnect/connect with topology changing operations in mesh edit mode.

Other changes/fixes:
- Proper subtypes for some particle mode notifiers.
- Particle mode selections didn't draw correctly because of using lighting for the paths.
13 files changed:
release/ui/buttons_particle.py
source/blender/blenkernel/BKE_pointcache.h
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/editors/physics/editparticle.c
source/blender/editors/space_buttons/buttons_intern.h
source/blender/editors/space_buttons/buttons_ops.c
source/blender/editors/space_buttons/space_buttons.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/editors/transform/transform_conversions.c
source/blender/makesrna/intern/rna_particle.c
source/blender/makesrna/intern/rna_sculpt_paint.c