Oneirocom / Magick

Magick is a cutting-edge toolkit for a new kind of AI builder. Make Magick with us!
https://magickml.com
Other
719 stars 115 forks source link

Text Template node creates an input socket for each time a variable is referenced. #1487

Open parzival418 opened 4 months ago

parzival418 commented 4 months ago

Text Template node creates an input socket for each time a variable is referenced.

Steps to repro: Create a Text Template node. Select the Text Template node. Within the Text Editor field, create a variable by using the {{}} notation. Observe the creation of an Input Socket with that variable name. While in the Text Editor, type the same variable name using {{}} notation. (e.g. if you put {{test}} in step 3, write {{test}} again) Observe the creation of a SECOND Input Socket with the same variable name.

Expected Results: Duplicate uses of a variable in the Text Field reference the same variable Input Socket and does not create new sockets.