@volter/editor-blender 0.1.37 → 0.1.38
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.
|
@@ -646,10 +646,14 @@ function BlenderViewportArea({
|
|
|
646
646
|
// WHERE BLENDER OPENS THE FILE: its own saved 3D View, when it holds one; the direction and
|
|
647
647
|
// fit above are the fallback for a file that saved none.
|
|
648
648
|
openingView={view.savedView()}
|
|
649
|
-
// The file's own lens
|
|
649
|
+
// The file's own lens (Blender's arithmetic in degrees) and the shading its view was saved
|
|
650
|
+
// in, as the document's presentation: Blender reopens a file saved in Material Preview in
|
|
651
|
+
// Material Preview, so a textured scene saved that way does not open grey.
|
|
650
652
|
presentation={(() => {
|
|
651
653
|
const saved = view.savedView();
|
|
652
|
-
|
|
654
|
+
if (!saved) return null;
|
|
655
|
+
const camera = { fov: blenderViewFieldOfView(saved.lens) };
|
|
656
|
+
return saved.drawMode ? { camera, drawMode: saved.drawMode } : { camera };
|
|
653
657
|
})()}
|
|
654
658
|
// Every entry this document opens is a `model` stage, the standing `blender:runtime`
|
|
655
659
|
// address included (its id carries no `model:` prefix).
|
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.
|
|
5
|
+
"version": "0.1.38",
|
|
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.
|
|
74
|
-
"@volter/editor-threejs": "0.5.
|
|
73
|
+
"@volter/blender-engine": "0.1.36",
|
|
74
|
+
"@volter/editor-threejs": "0.5.98",
|
|
75
75
|
"zod": "^4.3.6"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@volter/editor-live": "0.5.
|
|
79
|
-
"@volter/editor-project": "0.5.
|
|
80
|
-
"@volter/editor-sdk": "0.5.
|
|
78
|
+
"@volter/editor-live": "0.5.98",
|
|
79
|
+
"@volter/editor-project": "0.5.98",
|
|
80
|
+
"@volter/editor-sdk": "0.5.98",
|
|
81
81
|
"react": "^19.0.0",
|
|
82
82
|
"react-dom": "^19.0.0",
|
|
83
83
|
"three": "^0.180.0",
|