Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Core/Resources/ConcreteLoaders/SubMeshLoaderImpl.cpp

Diff revisions: vs.
  @@ -8,13 +8,13 @@
8 8 SubMesh* ptr = nullptr;
9 9
10 10 if ( _descriptor.getEnumValue() == Object3D::OBJECT_FLAG_SKINNED ) {
11 - ptr = New SkinnedSubMesh( _descriptor.getName() );
11 + ptr = MemoryManager_NEW SkinnedSubMesh(_descriptor.getName());
12 12 } else {
13 - ptr = New SubMesh( _descriptor.getName() );
13 + ptr = MemoryManager_NEW SubMesh(_descriptor.getName());
14 14 }
15 15
16 16 if ( !load( ptr, _descriptor.getName() ) ) {
17 - MemoryManager::SAFE_DELETE( ptr );
17 + MemoryManager::DELETE( ptr );
18 18 } else {
19 19 if ( _descriptor.getFlag() ) {
20 20 ptr->renderState().useDefaultMaterial( false );