VISU_GaussPointsPL
::AddGeometry(vtkDataSet* theGeometry, const VISU::TName& theGeomName)
{
+ // Fix for issue 0020167 (like in VISU_ScalarMapPL)
+ if(!IsExternalGeometryUsed())
+ ClearGeometry();
AddGeometryName(theGeomName);
myAppendFilter->AddInput(theGeometry);
return GetNumberOfGeometry();
GetSpecificPL()->AddGeometry(anIDMapper->GetOutput(), theGroupName);
myGroupNames.insert(theGroupName);
if(aNbGroups == 0)
- UpdateIcon();
+ UpdateIcon();
+ // To update scalar range according to the new input (IPAL21305)
+ if(!IsRangeFixed())
+ SetSourceRange();
}
}
}