Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 152 vs 171 for /trunk/Source Code/Core/Resources/ConcreteLoaders/ParticleEmitterLoaderImpl.cpp

Diff revisions: vs.
  @@ -3,15 +3,15 @@
3 3 #include "Dynamics/Entities/Particles/Headers/ParticleEmitter.h"
4 4
5 5 ParticleEmitter* ImplResourceLoader<ParticleEmitter>::operator()(){
6 - ParticleEmitter* ptr = New ParticleEmitter();
6 + ParticleEmitter* ptr = New ParticleEmitter();
7 7
8 8 if(!load(ptr,_descriptor.getName())){
9 9 SAFE_DELETE(ptr);
10 10 }else{
11 - ptr->getSceneNodeRenderState().useDefaultMaterial(false);
12 - ptr->setMaterial(NULL);
11 + ptr->getSceneNodeRenderState().useDefaultMaterial(false);
12 + ptr->setMaterial(NULL);
13 13 }
14 - return ptr;
14 + return ptr;
15 15 }
16 16
17 17 DEFAULT_LOADER_IMPL(ParticleEmitter)