Blender Git Loki
Git Commits -> Revision 874d38e
Revision 874d38e by Janne Karhu (master) August 29, 2009, 15:20 (GMT) |
Point cache editing: - Baked point caches for particles, cloth and softbody can now be edited in particle mode. * This overwrites the old cloth/sb cache editmode editing. * The type of editable system is chosen from a menu. * For particles the current particle system and it's current cache are used. - Currently this only works for caches that are in memory, but some automatic conversion from disk to memory and back can be implemented later. - All tools from hair editing can't be applied to point caches and are hidden in the tool panel and specials menu. Some functionality like subdividing paths can be later implemented in a slightly different way from how it works for hair. - Code is not yet optimized for speed, so editing might be slow sometimes. Known issues: - Cloth doesn't update properly while in particle mode, due to the way cloth modifier currently works. Daniel can you check on this? - As "particle mode" is not only for particles any more some other name would be in place? - Better icons are needed for the path, point, and tip-modes as the current icons from mesh edit mode are quite misleading. - Direct editing of point velocities is not yet implemented, but will be in the future. Other changes: - Hair editing doesn't require a "make editable" button press any more. - Multiple caches in single particle system disables changing emission properties. - Unified ui code for all point cache panels. * Defined in buttons_particle.py and imported for cloth, smoke & softbody. - Proper disabling of properties in ui after baking point caches. (Daniel could you please make needed disable code for smoke panels as their functionality is not familiar to me.) - Hair weight brush has been removed. Once hair dynamics is re-implemented I'll code a more useable alternative to the functionality. Bug fixes: - Unlinking particle settings crashed. - Deleting the active object with particles in the scene crashed. - Softbody didn't write point caches correctly on save. |
Commit Details:
Full Hash: 874d38eeb401a75f849cc36c7d7b911129c3aa75
SVN Revision: 22861
Parent Commit: c03004f
Lines Changed: +2064, -1945
28 Modified Paths:
/release/ui/buttons_particle.py (+82, -75) (Diff)
/release/ui/buttons_physics_cloth.py (+14, -50) (Diff)
/release/ui/buttons_physics_smoke.py (+4, -42) (Diff)
/release/ui/buttons_physics_softbody.py (+16, -48) (Diff)
/release/ui/space_view3d_toolbar.py (+55, -26) (Diff)
/source/blender/blenkernel/BKE_particle.h (+4, -46) (Diff)
/source/blender/blenkernel/BKE_pointcache.h (+77, -1) (Diff)
/source/blender/blenkernel/intern/cloth.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+266, -160) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+14, -35) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+36, -27) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -1) (Diff)
/source/blender/editors/include/ED_particle.h (+4, -6) (Diff)
/source/blender/editors/mesh/editmesh.c (+6, -150) (Diff)
/source/blender/editors/physics/editparticle.c (+1089, -1065) (Diff)
/source/blender/editors/physics/ed_pointcache.c (+11, -2) (Diff)
/source/blender/editors/space_outliner/outliner.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+99, -96) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+5, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+55, -41) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+10, -8) (Diff)
/source/blender/makesdna/DNA_object_force.h (+6, -3) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+4, -8) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+18, -8) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+40, -22) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+140, -18) (Diff)
/release/ui/buttons_physics_cloth.py (+14, -50) (Diff)
/release/ui/buttons_physics_smoke.py (+4, -42) (Diff)
/release/ui/buttons_physics_softbody.py (+16, -48) (Diff)
/release/ui/space_view3d_toolbar.py (+55, -26) (Diff)
/source/blender/blenkernel/BKE_particle.h (+4, -46) (Diff)
/source/blender/blenkernel/BKE_pointcache.h (+77, -1) (Diff)
/source/blender/blenkernel/intern/cloth.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+266, -160) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+14, -35) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+36, -27) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -1) (Diff)
/source/blender/editors/include/ED_particle.h (+4, -6) (Diff)
/source/blender/editors/mesh/editmesh.c (+6, -150) (Diff)
/source/blender/editors/physics/editparticle.c (+1089, -1065) (Diff)
/source/blender/editors/physics/ed_pointcache.c (+11, -2) (Diff)
/source/blender/editors/space_outliner/outliner.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+99, -96) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+5, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+55, -41) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+10, -8) (Diff)
/source/blender/makesdna/DNA_object_force.h (+6, -3) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+4, -8) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+18, -8) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+40, -22) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+140, -18) (Diff)