diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-02-17 13:21:07 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-02-17 13:21:07 +0300 |
commit | a6e19982221dcc82d350d77cdb9bc16a2337ad9d (patch) | |
tree | b8087c65b2e0d40a343fb1afe80cce0d49d03348 /source/blender/blenkernel/intern/texture.c | |
parent | c011bbbdb9013ed8a6a42ae728ccdb018ff661cd (diff) |
Animation Editors - Texture Animation:
Texture animation is now shown in the animation editors. Texture stacks are shown for each Material/Lamp/World block that uses them.
There is currently still a bit of a bug with this which means that unless the owner of the texture stack is animated too, the animation data for the textures won't show up. This will get rectified soon though.
Diffstat (limited to 'source/blender/blenkernel/intern/texture.c')
-rw-r--r-- | source/blender/blenkernel/intern/texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index feeb98a5a8c..10fdbc7fa14 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -420,6 +420,7 @@ void free_texture(Tex *tex) if(tex->env) BKE_free_envmap(tex->env); if(tex->pd) BKE_free_pointdensity(tex->pd); if(tex->vd) BKE_free_voxeldata(tex->vd); + BKE_free_animdata((struct ID *)tex); BKE_previewimg_free(&tex->preview); BKE_icon_delete((struct ID*)tex); tex->id.icon_id = 0; |