Commit 5e70b6c4 authored by David Thompson's avatar David Thompson Committed by Kitware Robot

Merge topic 'remove-dead-code'

80050a43 Remove some dead code.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !1335
parents 39d4d713 80050a43
Pipeline #123041 failed with stage
in 0 seconds
......@@ -376,29 +376,6 @@ void vtkSMTKModelRepresentation::SetVisibility(bool val)
Superclass::SetVisibility(val);
}
vtkDataObject* FindEntityData(vtkMultiBlockDataSet* mbds, smtk::model::EntityPtr ent)
{
if (mbds)
{
auto it = mbds->NewTreeIterator();
it->VisitOnlyLeavesOn();
for (it->GoToFirstItem(); !it->IsDoneWithTraversal(); it->GoToNextItem())
{
vtkDataObject* data = it->GetCurrentDataObject();
auto uid = vtkModelMultiBlockSource::GetDataObjectUUID(
it->GetCurrentMetaData()); // data->GetInformation());
// std::cout << " " << uid << " == " << ent->id() << "\n";
if (uid == ent->id())
{
it->Delete();
return data;
}
}
it->Delete();
}
return nullptr;
}
void vtkSMTKModelRepresentation::GetEntityVisibilities(std::map<smtk::common::UUID, int>& visdata)
{
visdata.clear();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment