summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/particleemitter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp
index ad67d622b..592d9b078 100644
--- a/src/particleemitter.cpp
+++ b/src/particleemitter.cpp
@@ -210,7 +210,7 @@ ParticleEmitter::ParticleEmitter(xmlNodePtr emitterNode, Particle *target,
logger->log1("Error: no valid imageset");
continue;
}
- mTempSets.push_back(imageset);
+// mTempSets.push_back(imageset);
// Get animation frames
for_each_xml_child_node(frameNode, propertyNode)
@@ -294,7 +294,7 @@ ParticleEmitter::ParticleEmitter(xmlNodePtr emitterNode, Particle *target,
logger->log1("Error: no valid imageset");
continue;
}
- mTempSets.push_back(imageset);
+// mTempSets.push_back(imageset);
// Get animation frames
for_each_xml_child_node(frameNode, propertyNode)
@@ -439,6 +439,7 @@ ParticleEmitter & ParticleEmitter::operator=(const ParticleEmitter &o)
ParticleEmitter::~ParticleEmitter()
{
+/*
for (std::list<ImageSet*>::iterator
i = mTempSets.begin();
i != mTempSets.end(); ++i)
@@ -447,6 +448,7 @@ ParticleEmitter::~ParticleEmitter()
(*i)->decRef();
}
mTempSets.clear();
+*/
if (mParticleImage)
{