Virginia Central 1268

I was wacthing a movie the other night and in it there is a scene in which a lady is in a train station during the civil war. A train pulls in with what appears to be an ex-CP Pacific. The engine number is 1268. The tender has “Virginia Central” on it, although it’s quite possible that’s just a name and logo made for the movie.

I was curious to know where this movie was filmed and I wondered if anyone had any ideas. Thanks.