removed debug messages

This commit is contained in:
Philip Eisenlohr 2016-04-13 19:29:04 -04:00
parent ea0bc80af9
commit 1994b5a4c1
1 changed files with 0 additions and 6 deletions

View File

@ -123,20 +123,14 @@ for name in filenames:
# ------------------------------------------ add data ---------------------------------------
damask.util.croak('adding now...')
for datatype,labels in active.items(): # loop over scalar,color
damask.util.croak('type {}'.format(datatype))
if datatype == 'color':
Polydata.GetPointData().SetScalars(VTKarray[active['color'][0]])
Polydata.GetCellData().SetScalars(VTKarray[active['color'][0]])
for me in labels: # loop over all requested items
damask.util.croak('label {}'.format(me))
Polydata.GetPointData().AddArray(VTKarray[me])
Polydata.GetCellData().AddArray(VTKarray[me])
damask.util.croak('...done.')
Polydata.Modified()
if vtk.VTK_MAJOR_VERSION <= 5: Polydata.Update()