cleanup
dependencies hashes: openFrameworks d78075f4bca6be2a2533c6e51a75cc1f18404501 ofxMsdfgen e14da13d02c4dff04fb69d7923469f606924e6c3 ofxGPUFont d482bb7cbdf6b296fa4ab5abcf73fb5ff8c8b239 ofxVariableLab 8df98846248a93aa068989a3ebd0d2f0f16e5e69 ofxProfiler fa1d70e6a5fae16633eed2ce65fb8b23f2edbbb8 theatre 86d3e07f6f2c75fd6e08fca8c97e3617c9e23b18
This commit is contained in:
parent
6d3b064da7
commit
365ac34de6
1 changed files with 0 additions and 14 deletions
|
@ -11,10 +11,6 @@ import {
|
|||
getNestedProperty,
|
||||
} from './utils.js';
|
||||
|
||||
//import {
|
||||
//config
|
||||
//} from './config.js';
|
||||
|
||||
const TheatrePlay = function(autoInit = false) {
|
||||
|
||||
//private
|
||||
|
@ -28,9 +24,7 @@ const TheatrePlay = function(autoInit = false) {
|
|||
let theatrePanel = null;
|
||||
let sequencePanelLeft = null;
|
||||
const getSequencePanelLeft = () => {
|
||||
// if (sequencePanelLeft === null) {
|
||||
sequencePanelLeft = tp.shadowRoot.querySelector('[data-testid="SequencePanel-Left"]');
|
||||
// }
|
||||
return sequencePanelLeft;
|
||||
};
|
||||
const getPanel = () => {
|
||||
|
@ -148,8 +142,6 @@ const TheatrePlay = function(autoInit = false) {
|
|||
}
|
||||
const prop = getNestedProperty(layer.theatreObject.props, path);
|
||||
return studio.__experimental.__experimental_isPropSequenced(prop);
|
||||
// is this better than this?
|
||||
//return getSequenceButton(path) === null;
|
||||
};
|
||||
|
||||
const setSequenced = (path, sequenced = true, layer = getLayer()) => {
|
||||
|
@ -567,13 +559,9 @@ const TheatrePlay = function(autoInit = false) {
|
|||
console.log('TheatrePlay::uploadProject', 'could not verify project');
|
||||
}
|
||||
});
|
||||
//Module.importProjectAsZip(vt_project.arrayBuffer, vt_project.fileSize, "debug_tmp");
|
||||
} else if (verifyVariableTimeProject(vt_project)) {
|
||||
this.possiblyAskForFontsPromise(vt_project).then((vt_project_u) => {
|
||||
vt_project = vt_project_u;
|
||||
//if (reeeload) {
|
||||
//localStorage.clear();
|
||||
//}
|
||||
this.saveProject(vt_project.projectId, vt_project, true);
|
||||
if (reeeload) {
|
||||
this.reloadToProject(vt_project.projectId);
|
||||
|
@ -624,12 +612,10 @@ const TheatrePlay = function(autoInit = false) {
|
|||
if (saveBeforeDownloading) {
|
||||
this.saveProject(projectId, vt_project, true);
|
||||
}
|
||||
//downloadFile(JSON.stringify(vt_project), `${config.projects.savePrefix}${projectId}.json`, 'application/json');
|
||||
Module.downloadProject(projectId, JSON.stringify(vt_project));
|
||||
} else {
|
||||
const p = this.getProject(projectId);
|
||||
if (p !== false) {
|
||||
//downloadFile(p, `${config.projects.savePrefix}${projectId}.json`, 'application/json');
|
||||
Module.downloadProject(projectId, JSON.stringify(p));
|
||||
} else {
|
||||
console.error('TheatrePlay::downloadProject', `cannot download project with id ${projectId}, because it is neither current project or saved in localStorage`);
|
||||
|
|
Loading…
Reference in a new issue