Nov 17th Release #100

Merged
Irev-Dev merged 33 commits from main into release 2020-11-16 19:36:19 +01:00
3 changed files with 3 additions and 2 deletions
Showing only changes of commit 7abdd87f03 - Show all commits

View File

@@ -61,7 +61,7 @@ const IdeCascadeStudio = ({ part, saveCode, loading, error }) => {
canEdit={canEdit}
isChanges={isChanges && !loading}
onSave={() => {}}
onExport={() => {}}
onExport={(type) => threejsViewport[`saveShape${type}`]()}
/>
<div id="topnav" className="topnav hidden">
<a href="https://github.com/zalo/CascadeStudio">

View File

@@ -11,6 +11,7 @@
// Install Cascade Studio as a Progressive Web App for Offline Access
// This needs to be put before ANY HTTP Requests are made, so it can cache them.
var messageHandlers = {};
var threejsViewport = {};
messageHandlers["resetWorking"] = () => { workerWorking = false; }
var cascadeStudioWorker
var workerWorking = false