@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 CHANGED
@@ -4624,10 +4624,10 @@ function useShotBreakdownScene(options) {
4624
4624
  }
4625
4625
  const result = (_a = options.onProductionInitialized) == null ? void 0 : _a.call(options, newCameras, type);
4626
4626
  if (result instanceof Promise) {
4627
+ setCameras(newCameras);
4628
+ setSceneType(type);
4627
4629
  await result;
4628
4630
  }
4629
- setCameras(newCameras);
4630
- setSceneType(type);
4631
4631
  return result;
4632
4632
  };
4633
4633
  const addShot = (shotDetails) => {