We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d409de commit 5587e4fCopy full SHA for 5587e4f
src/composables/useLoad3dViewer.ts
@@ -172,11 +172,7 @@ export const useLoad3dViewer = (node: LGraphNode) => {
172
const cameraConfig = node.properties['Camera Config'] as any
173
const lightConfig = node.properties['Light Config'] as any
174
175
- const widthWidget = node.widgets?.find((w) => w.name === 'width')
176
- const heightWidget = node.widgets?.find((w) => w.name === 'height')
177
- if (!(widthWidget && heightWidget)) {
178
- isPreview.value = true
179
- }
+ isPreview.value = node.type === 'Preview3D'
180
181
if (sceneConfig) {
182
backgroundColor.value =
0 commit comments