Tools/MeshExtractor: Fixed a few leaks and added the liquid vertices to the output data.

This commit is contained in:
Subv committed 2013-12-31 16:22:24 -05:00
1 parent 31bd3bab3f
commit 7b9dbfb1db
6 files changed
+38 -4

No files matched your search

+5
View File
@@ -33,6 +33,11 @@ ADT::ADT( std::string file, int x, int y ) : ObjectData(NULL), Data(NULL), HasOb
ADT::~ADT()
{
// Temporarily delete the underlying streams, they are guaranteed to be different
// @TODO: Remove this code once the ChunkedData destructor properly releases _Stream
delete ObjectData->_Stream;
delete Data->_Stream;
delete ObjectData;
delete Data;