Skip to content

Commit

Permalink
Iteration
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Derbasov <[email protected]>
  • Loading branch information
ntfshard committed Dec 18, 2024
1 parent 4a655ff commit 873e2b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ogre2/src/Ogre2GpuRays.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ogre2/src/Ogre2ThermalCamera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 873e2b0

Please sign in to comment.