diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-07-26 06:44:59 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-07-26 06:44:59 +0400 |
commit | 951a4934b08ab2621a627b1adb74cdf518c53a19 (patch) | |
tree | 38358088b18305fe471d6833ba52cd27e050b686 /source/blender/blenloader/intern/writefile.c | |
parent | ee8e41c65a5bc2f89ad3402005b3767d33e52672 (diff) |
- added wave modifier & removed old wave effect
- added decimate modifier & removed old decimate interface
(currently lacks warning about destroying data, and there needs
to be a way for modifiers to return errors back to the interface)
- allow applyModifier to return NULL to indicate error
- unfortunately new decimate modifier means it does not know exact
number of faces in mesh (other modifiers may come before) and so
instead interface uses a percentage. if people need exact face
count slider then I will have to think of some hack to fit this
in. note that it does display the output face count so its possible
to tweak the pct to get what you want regardless.
- removed python Wave object
If you are bored now how much easier it is to implement something
like decimate as a modifier. Very few changes to interface, very
few entry points.
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 3b14f11a8cd..61c7911ffca 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -406,9 +406,6 @@ static void write_effects(WriteData *wd, ListBase *lb) case EFF_PARTICLE: writestruct(wd, DATA, "PartEff", 1, eff); break; - case EFF_WAVE: - writestruct(wd, DATA, "WaveEff", 1, eff); - break; default: writedata(wd, DATA, MEM_allocN_len(eff), eff); } |