void vtkExtractCellType::SetGeoTypesStatus(const char *name, int status)
{
//std::cerr << "vtkExtractCellType::SetGeoTypesStatus(" << name << "," << status << ")" << std::endl;
+ if (GetNumberOfGeoTypesArrays()<1)
+ return;
this->Internal->setStatusOfEntryStr(name,(bool)status);
if(std::string(name)==GetGeoTypesArrayName(GetNumberOfGeoTypesArrays()-1))
{
void vtkExtractGroup::SetGroupsFlagsStatus(const char *name, int status)
{
//std::cerr << "vtkExtractGroup::SetFieldsStatus(" << name << "," << status << ")" << std::endl;
+ if (GetNumberOfGroupsFlagsArrays()<1)
+ return;
this->Internal->setStatusOfEntryStr(name,(bool)status);
if(std::string(name)==GetGroupsFlagsArrayName(GetNumberOfGroupsFlagsArrays()-1))
this->Modified();