@volter/editor-blender 0.1.2 → 0.1.3

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.
@@ -60,6 +60,7 @@ import {
60
60
  import { fitClipPlanes } from '@volter/editor-threejs/viewport/clip-planes';
61
61
  import { contentWorldBounds } from '@volter/editor-threejs/viewport/content-bounds';
62
62
  import * as THREE from 'three';
63
+ import { blenderEngineSelection, refreshBlenderOutliner } from '../contributions/blender-outliner-model';
63
64
  import {
64
65
  type NodeViewState,
65
66
  nodeViewState,
@@ -720,6 +721,10 @@ export function blenderRuntime(): BlenderRuntime {
720
721
  if (runtime !== owner) throw new Error('This Blender history belongs to a closed worker');
721
722
  const moved = await owner.historyStep(entry.id, direction);
722
723
  noteBlenderRnaChanged();
724
+ // The restored frame arrives before the Outliner's scheduled read.
725
+ // A following structural edit resolves its targets through that index:
726
+ // redo-duplicate -> delete must not see the tree from before redo.
727
+ await refreshBlenderOutliner(blenderEngineSelection().selected);
723
728
  return moved;
724
729
  };
725
730
  editorHost().history.record({
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.2",
5
+ "version": "0.1.3",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -61,8 +61,8 @@
61
61
  ]
62
62
  },
63
63
  "dependencies": {
64
- "@volter/blender-engine": "0.1.2",
65
- "@volter/editor-threejs": "0.5.59",
64
+ "@volter/blender-engine": "0.1.3",
65
+ "@volter/editor-threejs": "0.5.60",
66
66
  "zod": "^4.3.6"
67
67
  },
68
68
  "peerDependencies": {