Skip to content

Commit

Permalink
Remove unnecessary dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Dec 20, 2024
1 parent 1d83d35 commit 345c94c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions OgreMain/src/OgreScriptTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8555,17 +8555,6 @@ namespace Ogre{

uint8 shadowMapSupportedLightTypes = 0;

size_t numPasses = 0;
for(AbstractNodeList::iterator i = obj->children.begin(); i != obj->children.end(); ++i)
{
if((*i)->type == ANT_OBJECT)
{
ObjectAbstractNode *nodeObj = reinterpret_cast<ObjectAbstractNode*>( i->get() );
if( !nodeObj->abstract && nodeObj->id == ID_PASS )
++numPasses;
}
}

String lightTypeStr;
AbstractNodeList::const_iterator namesIt = obj->values.begin();
for( size_t j=0; j<obj->values.size() + 1; ++j )
Expand Down

0 comments on commit 345c94c

Please sign in to comment.