update theatre

dependencies hashes:
openFrameworks d78075f4bca6be2a2533c6e51a75cc1f18404501
ofxMsdfgen e14da13d02c4dff04fb69d7923469f606924e6c3
ofxGPUFont d482bb7cbdf6b296fa4ab5abcf73fb5ff8c8b239
ofxVariableLab 0b5f9bdebc1e5550621957e73c040c258ec6317b
ofxProfiler a868e34fa1a79189dd4fbdede2938e308535e5e8
theatre c60e63f5be4466e21b6bf06f6580f6100687306b
This commit is contained in:
themancalledjakob 2024-04-13 10:27:45 +02:00
parent 32778138ba
commit ef308f61b2
2 changed files with 3 additions and 14 deletions

View file

@ -61983,7 +61983,7 @@ Note that it **is okay** to import '@theatre/core' multiple times. But those imp
if (!track)
return;
if (p3.keyframes.length < 1)
throw new Error("holy shit, you are trying to add non-existing keyframes");
throw new Error("holy shit, we are trying to add non-existing keyframes");
if (!override)
throw new Error("whoopsie, not overriding is not implemented");
const oldKeyframes = track.keyframes;
@ -62666,7 +62666,6 @@ Note that it **is okay** to import '@theatre/core' multiple times. But those imp
if (typeof propConfig !== "undefined")
getStudio().transaction(({ stateEditors: stateEditors2 }) => {
stateEditors2.coreByProject.historic.sheetsById.sequence.setPrimitivePropAsSequenced(propAddress, propConfig);
console.log("inner setPropAsSequenced", performance.now());
});
},
__experimental_setPropAsStatic(prop) {
@ -62744,7 +62743,6 @@ Note that it **is okay** to import '@theatre/core' multiple times. But those imp
if (propConfig === void 0) {
throw new Error("propConfig is undefined. so, yeah.");
}
console.log({ propConfig, propAddress });
stateEditors2.coreByProject.historic.sheetsById.sequence.setPrimitivePropAsSequenced(propAddress, propConfig);
};
const __experimental_staticProp = (prop) => {
@ -62822,7 +62820,6 @@ Note that it **is okay** to import '@theatre/core' multiple times. But those imp
let sequenceTracksTree = root3.template.getMapOfValidSequenceTracks_forStudio().getValue();
const defaultValue = getDeep(root3.template.getDefaultValues().getValue(), path);
const propConfig = getPropConfigByPath(root3.template.staticConfig, path);
console.log(path, propConfig);
const addStaticOrKeyframeProp = (value, path2) => {
const propAddress = __spreadProps(__spreadValues({}, root3.address), { pathToProp: path2 });
let trackId = get_default(sequenceTracksTree, path2);
@ -62836,23 +62833,15 @@ Note that it **is okay** to import '@theatre/core' multiple times. But those imp
trackId,
keyframes
}));
console.log({
a: __spreadValues({}, root3.address),
objectKey,
trackId,
keyframes
});
} else if (propConfig !== void 0) {
throw Error("hmmm");
}
};
if (propConfig.type === "compound") {
forEachPropDeep(defaultValue, (v6, pathToProp) => {
console.log("comp compoumnD");
addStaticOrKeyframeProp(v6, pathToProp);
}, getPointerParts(prop).path);
} else {
console.log("singlerer", { defaultValue, path });
addStaticOrKeyframeProp(defaultValue, path);
}
} else {

File diff suppressed because one or more lines are too long