jbilcke-hf / clapper

Clapper.app, a video synthesizer and sequencer designed for the age of AI cinema
https://clapper.app
GNU General Public License v3.0
2.08k stars 194 forks source link

Script importing bug with scene changing #32

Open lalalune opened 3 months ago

lalalune commented 3 months ago

Describe the Issue: When I try to import a script with 2 locations, it cuts off the script and starts at the first location. I've included a zip with two scripts, working and not working.

This works

CUT TO:

CLIPPY, the Microsoft assistant paperclip, dressed in army fatigues, sits on a throne surrounded by a cult of various outdated AI bots and programs. The scene resembles
Marlon Brando's Colonel Kurtz in "Apocalypse Now."

CLIPPY
(whispers ominously)
The horror... the horror...

This doesn't work:

CUT TO:

EXT. DENSE JUNGLE - DAY <-- this line is where the script will start from  if this is added

CLIPPY, the Microsoft assistant paperclip, dressed in army fatigues, sits on a throne surrounded by a cult of various outdated AI bots and programs. The scene resembles
Marlon Brando's Colonel Kurtz in "Apocalypse Now."

CLIPPY
(whispers ominously)
The horror... the horror...

Import Bug Example.zip