This commit is contained in:
Benjamin Berman 2025-11-10 10:06:14 -08:00
parent 0d9232f02c
commit cc5f16caeb

View File

@ -158,7 +158,8 @@ app.registerExtension({
},
async beforeRegisterNodeDef(nodeType, nodeData) {
if (nodeData.name === "EvalPython") {
// Handle all EvalPython node variants
if (nodeData.name.startsWith("EvalPython")) {
const originalOnConfigure = nodeType.prototype.onConfigure;
nodeType.prototype.onConfigure = function (info) {
originalOnConfigure?.apply(this, arguments);