@volter/editor-blender 0.1.31 → 0.1.33

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.
@@ -1511,6 +1511,8 @@ export function blenderOutlinerAuthoringFor(
1511
1511
  // `matrixWorld`, would sit still with them.
1512
1512
  object.updateMatrix();
1513
1513
  object.updateMatrixWorld(true);
1514
+ // And every other area drawing the model moves with it, as Blender redraws them all.
1515
+ presented()?.mirrorPose?.(object);
1514
1516
  },
1515
1517
  endEdit: async (id): Promise<WriteAck | undefined> => {
1516
1518
  const object = gestureObjects.get(id) ?? objectFor(id);
@@ -43,6 +43,9 @@ export interface PresentedView {
43
43
  blenderSelection(): { readonly selected: readonly string[]; readonly active: string | null };
44
44
  /** Where `volter.stage.mode` comes from — see `BlenderRuntimeView.stageMode`. */
45
45
  setStageMode(mode: string | null): void;
46
+ /** A pose moved mid-gesture, drawn by the other views of the model — see
47
+ * `BlenderRuntimeView.mirrorPose`. */
48
+ mirrorPose?(object: THREE.Object3D): void;
46
49
  }
47
50
 
48
51
  const isPresentedView = (value: unknown): value is PresentedView =>
@@ -445,6 +445,7 @@ function BlenderViewportArea({
445
445
  if (store === null || overlaysOpened.has(store)) return;
446
446
  overlaysOpened.add(store);
447
447
  if (store.showHelpers) store.toggleHelpers();
448
+ if (store.showGizmos) store.toggleGizmos();
448
449
  };
449
450
  opened();
450
451
  return subscribeStageStores(opened);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@volter/editor-blender",
3
3
  "author": "Volter AI, Inc.",
4
4
  "license": "AGPL-3.0-only AND GPL-3.0-or-later",
5
- "version": "0.1.31",
5
+ "version": "0.1.33",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -70,14 +70,14 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@modelcontextprotocol/sdk": "1.30.0",
73
- "@volter/blender-engine": "0.1.29",
74
- "@volter/editor-threejs": "0.5.91",
73
+ "@volter/blender-engine": "0.1.31",
74
+ "@volter/editor-threejs": "0.5.93",
75
75
  "zod": "^4.3.6"
76
76
  },
77
77
  "peerDependencies": {
78
- "@volter/editor-live": "0.5.91",
79
- "@volter/editor-project": "0.5.91",
80
- "@volter/editor-sdk": "0.5.91",
78
+ "@volter/editor-live": "0.5.93",
79
+ "@volter/editor-project": "0.5.93",
80
+ "@volter/editor-sdk": "0.5.93",
81
81
  "react": "^19.0.0",
82
82
  "react-dom": "^19.0.0",
83
83
  "three": "^0.180.0",