Dialogue for the film scenes was done "post sync".
Episode 56, "Flashpoint", which first aired on 19 April 1966, was shot entirely on location on film, and most of the dialogue of this episode was post-synched.