Skip to content
  • Andy Wilson's avatar
    Insert numeric values with SetVariantValue instead of ToDouble() · 0364f9b9
    Andy Wilson authored
    InsertNextRow(vtkVariantArray) was transferring numeric values from the
    input to the row data by calling SetTuple1(value.ToDouble()).  This
    corrupted the low-order bits of 64-bit integers due to loss of precision.
    We avoid this by using the new SetVariantValue method on vtkAbstractArray.
    0364f9b9