@vishu1301/script-writing 1.3.9 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4598,10 +4598,10 @@ function useShotBreakdownScene(options) {
|
|
|
4598
4598
|
}
|
|
4599
4599
|
const result = (_a = options.onProductionInitialized) == null ? void 0 : _a.call(options, newCameras, type);
|
|
4600
4600
|
if (result instanceof Promise) {
|
|
4601
|
+
setCameras(newCameras);
|
|
4602
|
+
setSceneType(type);
|
|
4601
4603
|
await result;
|
|
4602
4604
|
}
|
|
4603
|
-
setCameras(newCameras);
|
|
4604
|
-
setSceneType(type);
|
|
4605
4605
|
return result;
|
|
4606
4606
|
};
|
|
4607
4607
|
const addShot = (shotDetails) => {
|