Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-08-11 10:44:32 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-08-11 10:44:32 +0400
commit76d2f0da9eb690da863c715c0681fbc894a27cb1 (patch)
tree9ddb3021aeedc23d419edd8d112e5ad1759cfa75 /source/blender/blenkernel/intern/lattice.c
parent8eca41396420e150b004869a3ca73a730142f23f (diff)
- couldn't help myself, got distracted working on something else and
wondered what these silly data pointers in MDeformVert were for. Turns out they aren't even need! Just taking up extra memory and space and confusing the armature deform algorithm. Naturally I had to clean things up. Sorry Ton. Deform weights are still stored in a pretty expensive and unnecessary way, probably use about twice as much memory as needed, and do way too many memory allocs. - moved armature_deform_verts into armature.c - some python code accessed the MDeformWeight data pointers, but did so in a completely wrong way, I am positive this code could never have worked (or maybe things changed during tons refactor), regardless it wouldn't work now... will test later.
Diffstat (limited to 'source/blender/blenkernel/intern/lattice.c')
-rw-r--r--source/blender/blenkernel/intern/lattice.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/blenkernel/intern/lattice.c b/source/blender/blenkernel/intern/lattice.c
index 1949915b2aa..c7d11559db7 100644
--- a/source/blender/blenkernel/intern/lattice.c
+++ b/source/blender/blenkernel/intern/lattice.c
@@ -556,17 +556,6 @@ void lattice_deform_verts(Object *laOb, Object *target, float (*vertexCos)[3], i
end_latt_deform();
}
-void armature_deform_verts(Object *armOb, Object *target, float (*vertexCos)[3], int numVerts)
-{
- int a;
-
- init_armature_deform(armOb, target);
-
- for(a=0; a<numVerts; a++) {
- calc_armature_deform(armOb, vertexCos[a], a);
- }
-}
-
int object_deform(Object *ob)
{
Curve *cu;