Removed all calls to object_wave in code, and moved it into the

mesh_modifier() in deform.c.

Now wave works on top of hooks, before lattice/curve deform and armature.
But together!
This commit is contained in:
2004-09-19 17:44:20 +00:00
parent e99320e7d2
commit 74cd2db337
8 changed files with 31 additions and 34 deletions

View File

@@ -1337,7 +1337,7 @@ void do_effects_panels(unsigned short event)
while(eff) {
if(eff->flag & SELECT) {
if(eff->type==EFF_PARTICLE) build_particle_system(ob);
else if(eff->type==EFF_WAVE) object_wave(ob);
else if(eff->type==EFF_WAVE) freedisplist(&ob->disp);
}
eff= eff->next;
}