Bug fix: memoryleak when using smoke heat/velocity data as texture
authorJanne Karhu <jhkarh@gmail.com>
Thu, 11 Nov 2010 17:03:09 +0000 (17:03 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Thu, 11 Nov 2010 17:03:09 +0000 (17:03 +0000)
commit1659e3fca76a60da1de2427113633ca06aac33e5
treea09d53346b5422bc310c40cff9a9c7b9eb3d49c0
parent4d9684ebdf3d6b6ad88babcb963801ed29717465
Bug fix: memoryleak when using smoke heat/velocity data as texture
* In addition to fixing the memleak it's much better to always copy the voxeldata to the texture. Smoke data can change at any time due to some changes, so we can't depend on that data.
* Thanks to MiikaH for finding this!
source/blender/blenkernel/intern/texture.c
source/blender/render/intern/source/voxeldata.c