add node SDBaseVerNumber

This commit is contained in:
刘雪峰
2024-05-24 10:51:15 +08:00
parent 7cd7619f53
commit be534e95db
4 changed files with 162 additions and 59 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ app.registerExtension({
return r;
};
if (nodeData.name === "ShowString" || nodeData.name === "ShowInt" || nodeData.name === "ShowNumber" || nodeData.name === "ShowFloat") {
if (nodeData.name === "ShowString" || nodeData.name === "ShowInt" || nodeData.name === "ShowNumber" || nodeData.name === "ShowFloat" || nodeData.name === "ShowBoolean") {
const outSet = function (text) {
if (this.widgets) {
// if multiline is true, w.type will be customtext