@volter/editor-threejs 0.5.101 → 0.5.103
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/editor-threejs",
|
|
3
3
|
"author": "Volter AI, Inc.",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.103",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -135,12 +135,12 @@
|
|
|
135
135
|
"serving": "./dist-node/serving.mjs"
|
|
136
136
|
},
|
|
137
137
|
"dependencies": {
|
|
138
|
-
"@volter/editor-project": "0.5.
|
|
138
|
+
"@volter/editor-project": "0.5.103",
|
|
139
139
|
"@sparkjsdev/spark": "^2.1.0",
|
|
140
140
|
"three.quarks": "^0.16.0",
|
|
141
141
|
"zod": "^4.3.6",
|
|
142
142
|
"typescript": "5.9.3",
|
|
143
|
-
"@volter/editor-sdk": "0.5.
|
|
143
|
+
"@volter/editor-sdk": "0.5.103",
|
|
144
144
|
"postprocessing": "6.38.3",
|
|
145
145
|
"quarks.core": "0.16.0",
|
|
146
146
|
"@fortawesome/free-solid-svg-icons": "^7.2.0"
|
|
@@ -1765,10 +1765,13 @@ export function Object3DDocumentViewport({
|
|
|
1765
1765
|
// A document whose FILE states its draw mode keeps a person's pick there (a .blend's 3D
|
|
1766
1766
|
// View), so the file's statement is where the session starts. Otherwise a mode the person
|
|
1767
1767
|
// chose and the view restored is theirs. Only a view with neither is given the session's.
|
|
1768
|
+
// Then the view takes the session's mode either way: a stored choice older than the file's
|
|
1769
|
+
// statement would otherwise keep lighting the view for the mode it no longer draws (the
|
|
1770
|
+
// Blender presenter dressed in Solid's materials under a Material Preview cell).
|
|
1768
1771
|
const restoredMode = ownLayer?.drawMode ?? viewPresentationSnapshot(documentId).drawMode;
|
|
1769
1772
|
if (restoredMode !== undefined && viewModes.has(restoredMode) && host.session)
|
|
1770
1773
|
host.session.setMode(restoredMode);
|
|
1771
|
-
|
|
1774
|
+
sessionToView();
|
|
1772
1775
|
const stopSessionMode = host.session?.subscribe(sessionToView);
|
|
1773
1776
|
const stopViewMode = subscribeViewportPresentation(() => {
|
|
1774
1777
|
const session = host.session;
|