@deepblend/dsh-blender-host 0.3.8 → 0.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.
Files changed (2) hide show
  1. package/lib/index.js +2 -0
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -35,6 +35,7 @@ import {
35
35
  BlenderError,
36
36
  BlenderErrorCode,
37
37
  CREATION_REQUEST_VERSION,
38
+ CAMERA_UPDATE_FIELDS,
38
39
  BlenderWarningCode,
39
40
  SCENE_PATCH_VERSION,
40
41
  buildViewPlan,
@@ -626,6 +627,7 @@ export default class BlenderStudio extends Service {
626
627
  }
627
628
 
628
629
  get creationRequestProtocol() { return CREATION_REQUEST_VERSION }
630
+ get cameraTargetResetSupported() { return CAMERA_UPDATE_FIELDS.includes('clearTarget') }
629
631
 
630
632
  async _createProject(request, creationRequest) {
631
633
  const source = request.recipe ? this.recipes.instantiate(request.recipe) : null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepblend/dsh-blender-host",
3
- "version": "0.3.8",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "description": "DeepBlend Host service: the blenderStudio business facade over the BlenderRuntime seam.",
6
6
  "main": "lib/index.js",
@@ -20,7 +20,7 @@
20
20
  "./package.json": "./package.json"
21
21
  },
22
22
  "dependencies": {
23
- "@deepblend/dsh-blender-contracts": "0.3.8",
23
+ "@deepblend/dsh-blender-contracts": "0.4.0",
24
24
  "sharp": "0.35.5"
25
25
  },
26
26
  "license": "MIT",