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/Geometry/Shapes/SkinnedSubMesh.cpp

Diff revisions: vs.
  @@ -12,17 +12,17 @@
12 12
13 13 SkinnedSubMesh::SkinnedSubMesh(const stringImpl& name) : SubMesh(name, Object3D::OBJECT_FLAG_SKINNED)
14 14 {
15 - _animator = New SceneAnimator();
15 + _animator = MemoryManager_NEW SceneAnimator();
16 16 }
17 17
18 18 SkinnedSubMesh::~SkinnedSubMesh()
19 19 {
20 - MemoryManager::SAFE_DELETE( _animator );
20 + MemoryManager::DELETE( _animator );
21 21 }
22 22
23 23 /// After we loaded our mesh, we need to add submeshes as children nodes
24 24 void SkinnedSubMesh::postLoad(SceneGraphNode* const sgn){
25 - sgn->setComponent(SGNComponent::SGN_COMP_ANIMATION, New AnimationComponent(_animator, sgn));
25 + sgn->setComponent(SGNComponent::SGN_COMP_ANIMATION, MemoryManager_NEW AnimationComponent(_animator, sgn));
26 26 SubMesh::postLoad(sgn);
27 27 }
28 28