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:
authorTon Roosendaal <ton@blender.org>2004-09-28 20:18:22 +0400
committerTon Roosendaal <ton@blender.org>2004-09-28 20:18:22 +0400
commit5ac0d4fd26e9b670d83b8e9431707f9260c66bc6 (patch)
tree928cc78886d864577dcf3279ad7d400621797edd /source/blender/src/editlattice.c
parentfc0c3a084dd20fd350ba4fe2c9e5f4d3889839f6 (diff)
Cleaned the apply deform code in Blender. Now also using the modifier code.
Right now, it works for Meshes (all deformers including Curve) and for Curve/Surfaces (only hooks). More follows.
Diffstat (limited to 'source/blender/src/editlattice.c')
-rw-r--r--source/blender/src/editlattice.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/source/blender/src/editlattice.c b/source/blender/src/editlattice.c
index 8aebfdfedc5..18bed249da4 100644
--- a/source/blender/src/editlattice.c
+++ b/source/blender/src/editlattice.c
@@ -76,35 +76,8 @@
#include "BKE_armature.h"
-void apply_lattice(void)
-{
- Base *base;
- Object *par;
-
- if(okee("Apply lattice deformation")==0) return;
-
- base= FIRSTBASE;
- while(base) {
- if TESTBASELIB(base) {
- if( (par= base->object->parent) ) {
- if(par->type==OB_LATTICE) {
- object_apply_deform(base->object);
-
- base->object->parent= 0;
- }
- }
- }
- base= base->next;
- }
-
- allqueue(REDRAWVIEW3D, 0);
-}
-
/* ***************************** */
-
-
-
void free_editLatt(void)
{
if(editLatt) {