What was the first science fiction motion picture to be released in theatres, adapted from an original television program? I'm looking for an answer that wasn't a comic strip first, or a radio serial turned TV show.
For example: Flash Gordon was based on a comic strip and The War of the Worlds was a radio show before it was a TV movie or a Hollywood film, so neither could qualify as the correct answer.