initial commit with full-size image, but broken OpenSCAD image source size.
This commit is contained in:
@@ -17,11 +17,12 @@ let lastCameraSettings = {
|
||||
}
|
||||
|
||||
export const render = async ({ code, settings }) => {
|
||||
console.log('from render', settings)
|
||||
const body = JSON.stringify({
|
||||
settings: {
|
||||
size: {
|
||||
x: 500,
|
||||
y: 500,
|
||||
x: settings.viewerSize?.width,
|
||||
y: settings.viewerSize?.height,
|
||||
},
|
||||
camera: settings.camera || lastCameraSettings,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user