diff --git a/pyproject.toml b/pyproject.toml index 82f32c4..ac8c25a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "jovimetrix" description = "Integrates Webcam, MIDI, Spout and GLSL shader support. Animation via tick. Parameter manipulation with wave generator. Math operations with Unary and Binary support. Value conversion for all major types (int, string, list, dict, Image, Mask). Shape mask generation, image stacking and channel ops, batch splitting, merging and randomizing, load images and video from anywhere, dynamic bus routing with a single node, export support for GIPHY, save output anywhere! flatten, crop, transform; check colorblindness, make stereogram or stereoscopic images, or liner interpolate values and more." -version = "1.2.3" +version = "1.2.4" license = "MIT" dependencies = [ "aenum>=3.1.15, <4", diff --git a/web/core/core_cozy_menu.js b/web/core/core_cozy_menu.js index 2eebf11..81374df 100644 --- a/web/core/core_cozy_menu.js +++ b/web/core/core_cozy_menu.js @@ -29,6 +29,9 @@ app.registerExtension({ const getExtraMenuOptions = nodeType.prototype.getExtraMenuOptions; nodeType.prototype.getExtraMenuOptions = function (_, options) { const me = getExtraMenuOptions?.apply(this, arguments); + if (this.widgets === undefined) { + return me; + } const convertToInputArray = []; const widgets = Object.values(this.widgets); for (const [widgetName, widgetType] of matchingTypes) {