FEM: DataAlongLine: core implementation
This commit is contained in:
committed by
Yorik van Havre
parent
5606d5cda2
commit
89cf335f3d
@@ -247,8 +247,11 @@ void ViewProviderFemPostObject::updateProperties() {
|
||||
colorArrays.push_back("None");
|
||||
|
||||
vtkPointData* point = poly->GetPointData();
|
||||
for(int i=0; i<point->GetNumberOfArrays(); ++i)
|
||||
colorArrays.push_back(point->GetArrayName(i));
|
||||
for(int i=0; i<point->GetNumberOfArrays(); ++i) {
|
||||
std::string FieldName = point->GetArrayName(i);
|
||||
if (FieldName != "Texture Coordinates")
|
||||
colorArrays.push_back(FieldName);
|
||||
}
|
||||
|
||||
vtkCellData* cell = poly->GetCellData();
|
||||
for(int i=0; i<cell->GetNumberOfArrays(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user