mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
initial commit
This change makes the memory manager work again for detecting leaks, the built in one kept coming into de-ref and other bugs so this is the start of a refactor to get it working.
This commit is contained in:
parent
13bf126418
commit
8c812cb448
11 changed files with 258 additions and 1665 deletions
|
|
@ -26,8 +26,20 @@
|
|||
#ifndef _APPMATERIAL_H_
|
||||
#include "ts/loader/appMaterial.h"
|
||||
#endif
|
||||
|
||||
#if !defined(TORQUE_DISABLE_MEMORY_MANAGER)
|
||||
#ifdef new
|
||||
#undef new
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <assimp/scene.h>
|
||||
|
||||
#if !defined(TORQUE_DISABLE_MEMORY_MANAGER)
|
||||
# define _new new(__FILE__, __LINE__)
|
||||
# define new _new
|
||||
#endif
|
||||
|
||||
class Material;
|
||||
|
||||
class AssimpAppMaterial : public AppMaterial
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue