Commit f2066bde authored by hybrid's avatar hybrid

Remove internal use of setParticleSize.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1797 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 3915fd9c
......@@ -48,7 +48,7 @@ CParticleSystemSceneNode::CParticleSystemSceneNode(bool createDefaultEmitter,
e->drop();
}
setParticleSize();
ParticleSize = size;
}
......@@ -489,7 +489,7 @@ void CParticleSystemSceneNode::setParticlesAreGlobal(bool global)
//! Sets the size of all particles.
void CParticleSystemSceneNode::setParticleSize(const core::dimension2d<f32> &size)
{
os::Printer::log("Deprecated, use setMinStartSize/setMaxStartSize in emitter.", irr::ELL_WARNING);
os::Printer::log("setParticleSize is deprecated, use setMinStartSize/setMaxStartSize in emitter.", irr::ELL_WARNING);
//A bit of a hack, but better here than in the particle code
if (Emitter)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment