From 9b271ce1ce0b3edf803c08febd3e5e3a49af1624 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 14 Oct 2024 12:40:48 -0500 Subject: [PATCH] pass skipping to _showScene() and showSet() --- src/hollywoo/Director.hx | 2 +- src/hollywoo/Movie.kiss | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hollywoo/Director.hx b/src/hollywoo/Director.hx index 0dda9fc..94320cb 100644 --- a/src/hollywoo/Director.hx +++ b/src/hollywoo/Director.hx @@ -53,7 +53,7 @@ interface Director, camera:Camera):Void; diff --git a/src/hollywoo/Movie.kiss b/src/hollywoo/Movie.kiss index 4564caf..83e39ad 100644 --- a/src/hollywoo/Movie.kiss +++ b/src/hollywoo/Movie.kiss @@ -445,13 +445,14 @@ ])] (director.showLighting scene.time allLightSources scene.camera))) - (method _showScene [:Scene scene :Appearance appearance :Camera camera :Continuation cc] + (method _showScene [:Scene scene :Appearance appearance :Camera camera :Bool skipping :Continuation cc] (let [cc (makeCC cc (_updateLighting) (cc))] // Show current scene background (director.showSet scene.set scene.time scene.perspective appearance camera + skipping (makeCC cc // Show current scene characters (_ccForEach @@ -1267,6 +1268,7 @@ (dictGet scenes name) (appearanceFlag shownScenes name) .camera (dictGet scenes name) + skipping cc))))))) // Switch scenes but bring all the characters and props from the current one