Put social media save popover into editor tab (#541)
and make them live
This commit was merged in pull request #541.
This commit is contained in:
@@ -62,7 +62,7 @@ const EditorMenu = () => {
|
||||
})
|
||||
thunkDispatch({
|
||||
type: 'switchEditorModel',
|
||||
payload: state.models.length,
|
||||
payload: state.editorTabs.length,
|
||||
})
|
||||
}}
|
||||
/>
|
||||
|
||||
@@ -74,12 +74,8 @@ export const makeStlDownloadHandler =
|
||||
requestRender({
|
||||
state,
|
||||
dispatch,
|
||||
code: state.code,
|
||||
viewerSize: state.viewerSize,
|
||||
camera: state.camera,
|
||||
quality: 'high',
|
||||
specialCadProcess,
|
||||
parameters: state.currentParameters,
|
||||
}).then(
|
||||
(result) => result && saveFile(makeStlBlobFromGeo(result.data))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user