Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
698d958085 |
@@ -481,6 +481,9 @@ app.registerExtension({
|
|||||||
|
|
||||||
getInputLink(slot) {
|
getInputLink(slot) {
|
||||||
const setter = this.findSetter(this.graph);
|
const setter = this.findSetter(this.graph);
|
||||||
|
if (this.mode !== 0) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (setter) {
|
if (setter) {
|
||||||
const slotInfo = setter.inputs[slot];
|
const slotInfo = setter.inputs[slot];
|
||||||
@@ -520,6 +523,11 @@ app.registerExtension({
|
|||||||
}
|
}
|
||||||
|
|
||||||
onDrawForeground(ctx, lGraphCanvas) {
|
onDrawForeground(ctx, lGraphCanvas) {
|
||||||
|
if (this.mode === 4) {
|
||||||
|
console.log(`Mode is ${this.mode}, setting to disabled`)
|
||||||
|
this.mode = 2;
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (this.drawConnection) {
|
if (this.drawConnection) {
|
||||||
this._drawVirtualLink(lGraphCanvas, ctx);
|
this._drawVirtualLink(lGraphCanvas, ctx);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user