imgui-node-editor icon indicating copy to clipboard operation
imgui-node-editor copied to clipboard

[Sample] BluePrint Sample didn't support edit text

Open lyd405121 opened this issue 2 years ago • 3 comments

The problem

  • If I add two nodes which are message type with edit controller
  • I can't change the content separately as below error

More try

  • I find the other samples have the same problem

lyd405121 avatar Jun 01 '23 06:06 lyd405121

You probably use the same string buffer with 2 edit texts. Please share your code, so I could be a bit more specific.

SC5Shout avatar Jun 01 '23 10:06 SC5Shout

You probably use the same string buffer with 2 edit texts. Please share your code, so I could be a bit more specific.

More Info

  • I just compile the blueprint-example with latest version error

Thanks

  • Thanks for your kind advice, I will fix it in my own project

lyd405121 avatar Jun 02 '23 01:06 lyd405121

It's because an example uses the same buffer for all nodes. You should replace it with your own buffer that's unique for each node image

IceLuna avatar May 05 '24 14:05 IceLuna

It's because an example uses the same buffer for all nodes. You should replace it with your own buffer that's unique for each node image

Thanks!

lyd405121 avatar May 06 '24 05:05 lyd405121