Blender Git Loki
Git Commits -> Revision 2abd79b
Revision 2abd79b by Daniel Dunbar (master) August 15, 2005, 10:30 (GMT) |
- readded DL_VERTS type to store lattice deformed verts - new feature, twiddled with lattice resizing to try to maintain existing vertex changes... much nicer than just resetting the lattice if you decide you need more detail in the lattice. - modifiers work with lattices now. yes, that does mean you can make a chain of lattices effecting each other 8 miles long. - some cleanup of softbody code, was rather splintered and call path was twisted and confusing. reworked main object step routine to do things in a more obvious and consistent manner and without duplicate code - added ob->softflag OB_SB_RESET instead of sbObjectReset call - modifier changes reset softbody now - moved curve_getVertexCos/curve_applyVertexCos into curve.c - update curve modifier eval to work with virtual modifiers - update modifier apply to work with curves/surfs - update make parent to also recalc object data NOTE: Although you can turn SB on for curve/font objects at the moment it doesn't really work because they call deform in multiple steps and this confuses SB. Not sure how to deal with atm. |
Commit Details:
Full Hash: 2abd79b491c024eee8ad460815486fc051aefbf4
SVN Revision: 5105
Parent Commit: 91cd2d8
Lines Changed: +547, -617
21 Modified Paths:
/source/blender/blenkernel/BKE_curve.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_displist.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+4, -2) (Diff)
/source/blender/blenkernel/BKE_softbody.h (+3, -21) (Diff)
/source/blender/blenkernel/intern/curve.c (+54, -0) (Diff)
/source/blender/blenkernel/intern/displist.c (+8, -62) (Diff)
/source/blender/blenkernel/intern/lattice.c (+190, -91) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/softbody.c (+129, -279) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -1) (Diff)
/source/blender/include/butspace.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_lattice_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_object_force.h (+1, -0) (Diff)
/source/blender/python/api2_2x/Lattice.c (+1, -4) (Diff)
/source/blender/src/buttons_editing.c (+68, -26) (Diff)
/source/blender/src/buttons_object.c (+3, -3) (Diff)
/source/blender/src/drawobject.c (+56, -120) (Diff)
/source/blender/src/editmesh_loop.c (+1, -1) (Diff)
/source/blender/src/editobject.c (+3, -4) (Diff)
/source/blender/src/transform_conversions.c (+1, -1) (Diff)
/source/blender/blenkernel/BKE_displist.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+4, -2) (Diff)
/source/blender/blenkernel/BKE_softbody.h (+3, -21) (Diff)
/source/blender/blenkernel/intern/curve.c (+54, -0) (Diff)
/source/blender/blenkernel/intern/displist.c (+8, -62) (Diff)
/source/blender/blenkernel/intern/lattice.c (+190, -91) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/softbody.c (+129, -279) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -1) (Diff)
/source/blender/include/butspace.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_lattice_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_object_force.h (+1, -0) (Diff)
/source/blender/python/api2_2x/Lattice.c (+1, -4) (Diff)
/source/blender/src/buttons_editing.c (+68, -26) (Diff)
/source/blender/src/buttons_object.c (+3, -3) (Diff)
/source/blender/src/drawobject.c (+56, -120) (Diff)
/source/blender/src/editmesh_loop.c (+1, -1) (Diff)
/source/blender/src/editobject.c (+3, -4) (Diff)
/source/blender/src/transform_conversions.c (+1, -1) (Diff)