vtkImprintFilter: swap order of out-of-bounds check and vector access
This fixes a possible segfault when the currentOffset is incremented and accesses a vector element before its range validity is checked.
Edited by Cory Quammen
This fixes a possible segfault when the currentOffset is incremented and accesses a vector element before its range validity is checked.