fixed one bug for vtkwriting of the obj files.