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>2004-03-21 01:06:01 +0300
committerDaniel Dunbar <daniel@zuster.org>2004-03-21 01:06:01 +0300
commit0d4300eb49eabec898828656d1553ec70cda935d (patch)
tree397b7547f12b0b351e319ea21bf255b78eb00dfe /source/blender/src/editlattice.c
parent60955da36d5f731b0e30552442bee255e3d66a23 (diff)
- added object_apply_deform, removed lt_applyflag global
Diffstat (limited to 'source/blender/src/editlattice.c')
-rw-r--r--source/blender/src/editlattice.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/src/editlattice.c b/source/blender/src/editlattice.c
index 4c5f660249e..634db966078 100644
--- a/source/blender/src/editlattice.c
+++ b/source/blender/src/editlattice.c
@@ -88,10 +88,7 @@ void apply_lattice(void)
if TESTBASELIB(base) {
if( (par= base->object->parent) ) {
if(par->type==OB_LATTICE) {
-
- lt_applyflag= 1;
- object_deform(base->object);
- lt_applyflag= 0;
+ object_apply_deform(base->object);
base->object->parent= 0;
}