From 79b0060703a6b9f814c12272c2bd775ca812d2c6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 19 Jun 2009 13:09:31 +0000 Subject: [PATCH] From Tom Jolly, "A new compiler and a new warning. Enclosed is include/osgParticle/Particle. I removed the const from the return type of getSTexCoord. I also changed the name on the next function to getTTexCoord so it is consistent with getSTexCoord. If you prefer to change getSTexCoord to getSCoord you will need to change it in ConnectedParticleSystem.cpp." --- include/osgParticle/Particle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osgParticle/Particle b/include/osgParticle/Particle index 58faae306..3ac18b65c 100644 --- a/include/osgParticle/Particle +++ b/include/osgParticle/Particle @@ -141,10 +141,10 @@ namespace osgParticle inline float getCurrentAlpha() const { return _current_alpha; } /// Get the s texture coordinate of the bottom left of the particle - inline const float getSTexCoord() const { return _s_coord; } + inline float getSTexCoord() const { return _s_coord; } /// Get the t texture coordinate of the bottom left of the particle - inline float getTCoord() const { return _t_coord; } + inline float getTTexCoord() const { return _t_coord; } /// Get width of texture tile inline int getTileS() const;