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:
Diffstat (limited to 'source/blender/blenkernel/intern/world.c')
-rw-r--r--source/blender/blenkernel/intern/world.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/world.c b/source/blender/blenkernel/intern/world.c
index bd747bc1b61..7278460c61c 100644
--- a/source/blender/blenkernel/intern/world.c
+++ b/source/blender/blenkernel/intern/world.c
@@ -48,6 +48,7 @@
#include "BKE_utildefines.h"
#include "BKE_library.h"
+#include "BKE_animsys.h"
#include "BKE_world.h"
#include "BKE_global.h"
#include "BKE_main.h"
@@ -76,9 +77,7 @@ void free_world(World *wrld)
}
BKE_previewimg_free(&wrld->preview);
-#if 0 // XXX old animation system
- wrld->ipo= 0;
-#endif // XXX old animation system
+ BKE_free_animdata((ID *)wrld);
BKE_icon_delete((struct ID*)wrld);
wrld->id.icon_id = 0;