Commit 36a267b3 authored by Ben Boeckel's avatar Ben Boeckel Committed by Haocheng LIU

pqModelBuilderViewContextMenuBehavior: remove unused code

parent 869b7047
......@@ -107,15 +107,6 @@ void pqModelBuilderViewContextMenuBehavior::syncBlockVisibility(
if (ivp)
{
/*
vtkPVDataInformation *info = outport->getDataInformation();
if(!info)
return;
vtkPVCompositeDataInformation *compositeInfo =
info->GetCompositeDataInformation();
if(!compositeInfo || !compositeInfo->GetDataIsComposite())
return;
*/
vtkIdType nbElems = static_cast<vtkIdType>(ivp->GetNumberOfElements());
if (nbElems / 2 != numBlocks)
return;
......
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