Tools/MeshExtractor: Fixed a few leaks and added the liquid vertices to the output data.
This commit is contained in:
1 parent
31bd3bab3f
commit
7b9dbfb1db
6 files changed
+38
-4
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user