Skip to content

Commit

Permalink
Rename a shadowed variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
vibraphone committed Mar 3, 2015
1 parent bfcf82d commit 006606c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions smtk/bridge/discrete/operation/vtkCMBParserV4.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,12 @@ bool vtkCMBParserV4::Parse(vtkPolyData* MasterPoly, vtkDiscreteModel* Model)
}
for(vtkIdType j=1;j<numEntities;j++)
{
vtkModelEntity* Entity = Model->GetModelEntity(
vtkModelEntity* Entity2 = Model->GetModelEntity(
itemType, GroupedEntityIds->GetValue(ArrayCounter));
ArrayCounter++;
if(itemType == Entity->GetType())
if(itemType == Entity2->GetType())
{
CMBEntity = vtkDiscreteModelEntity::GetThisDiscreteModelEntity(Entity);
CMBEntity = vtkDiscreteModelEntity::GetThisDiscreteModelEntity(Entity2);
if(CMBEntity)
{
Entities.push_back(CMBEntity);
Expand Down

0 comments on commit 006606c

Please sign in to comment.