diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-15 04:53:51 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-15 04:53:51 +0400 |
commit | 74623f33aa2e12da31b53423fc226ebf9e937df4 (patch) | |
tree | 2639898f43f39de8be4b4e3526201557dc0e3b4c /source/blender/blenkernel/intern/lattice.c | |
parent | bb377c72cdb850a5fb68aab436c6d8b6d95a920b (diff) |
- get rid of unused object_deform_curve
- some tweaks to modifier UI thanks to Bart (aligning buttons)
Diffstat (limited to 'source/blender/blenkernel/intern/lattice.c')
-rw-r--r-- | source/blender/blenkernel/intern/lattice.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source/blender/blenkernel/intern/lattice.c b/source/blender/blenkernel/intern/lattice.c index 0143cdcb649..8f463886b3f 100644 --- a/source/blender/blenkernel/intern/lattice.c +++ b/source/blender/blenkernel/intern/lattice.c @@ -568,23 +568,6 @@ int object_deform_mball(Object *ob) } } -int object_deform_curve(Object *ob, ListBase *lb) -{ - if(ob->parent && ob->parent->type==OB_LATTICE && ob->partype==PARSKEL) { - DispList *dl; - - for (dl=lb->first; dl; dl=dl->next) { - int tot = (dl->type==DL_INDEX3)?dl->parts:dl->nr*dl->parts; - - lattice_deform_verts(ob->parent, ob, (float(*)[3]) dl->verts, tot); - } - - return 1; - } else { - return 0; - } -} - BPoint *latt_bp(Lattice *lt, int u, int v, int w) { return lt->def+ u + v*lt->pntsu + w*lt->pntsu*lt->pntsv; |