From 873e2b017357a37020af018fe97733e4c982c1c1 Mon Sep 17 00:00:00 2001 From: Maksim Derbasov Date: Wed, 18 Dec 2024 22:14:02 +0900 Subject: [PATCH] Iteration Signed-off-by: Maksim Derbasov --- ogre2/src/Ogre2GpuRays.cc | 2 +- ogre2/src/Ogre2ThermalCamera.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ogre2/src/Ogre2GpuRays.cc b/ogre2/src/Ogre2GpuRays.cc index b9e64ddf3..91e6c2573 100644 --- a/ogre2/src/Ogre2GpuRays.cc +++ b/ogre2/src/Ogre2GpuRays.cc @@ -295,7 +295,7 @@ void Ogre2LaserRetroMaterialSwitcher::passPreExecute( const Ogre::HlmsBlendblock *noBlend = hlmsManager->getBlendblock(Ogre::HlmsBlendblock()); - static const std::string laserRetroKey = "laser_retro"; + const std::string laserRetroKey = "laser_retro"; auto itor = this->scene->OgreSceneManager()->getMovableObjectIterator( Ogre::ItemFactory::FACTORY_TYPE_NAME); diff --git a/ogre2/src/Ogre2ThermalCamera.cc b/ogre2/src/Ogre2ThermalCamera.cc index df4be756c..ac21717cf 100644 --- a/ogre2/src/Ogre2ThermalCamera.cc +++ b/ogre2/src/Ogre2ThermalCamera.cc @@ -250,7 +250,7 @@ void Ogre2ThermalCameraMaterialSwitcher::cameraPreRenderScene( const Ogre::HlmsBlendblock *noBlend = hlmsManager->getBlendblock(Ogre::HlmsBlendblock()); - static const std::string tempKey = "temperature"; + const std::string tempKey = "temperature"; auto itor = this->scene->OgreSceneManager()->getMovableObjectIterator( Ogre::ItemFactory::FACTORY_TYPE_NAME);