void InitPositions(PaintJob j)
{
Vector3[] pos = j.stream.positions;
if (pos == null || pos.Length != j.verts.Length)
{
int vc = j.meshFilter.sharedMesh.vertexCount;
if (j.stream.positions == null || j.stream.positions.Length != vc)
{
j.stream.positions = new Vector3[j.meshFilter.sharedMesh.vertices.Length];
j.meshFilter.sharedMesh.vertices.CopyTo(j.stream.positions, 0);
}
}
return;
}