Make Array loses its data when doing a Get?

Hello,

I have this very strange behavior preventing me to use the points I put in a vect array: when I connect a Get node to a Make Array it clears it! And this cannot be undone with Ctrl + Z.
This is on 4.7.1 and there since 4.6.

Repro:

  • Create a Make Array node and fill it with some data
  • Connect a Get
  • Where are the data now?

Is this behavior normal?

Thank you

Hello,

Can you please tell me if this is normal or if this is a bug?
If normal, well it is quite disturbing…

thank you

This is normal, you have to use the make array node with a set array node, then get. I give you an example:

Is in 4.6 but in 4.7 is the same.

EDIT: forgot to answer your question lol. When you link the Make array node to a Get array node it lose the data because the variable type of make array refresh depending on what you link. The Get node should too but apparently the Make array node changes first.

Hello Lohoilpotere,

Thanks a lot for the explaination. In other words the type of the array is dynamic as long as there is nothing plugged in its inputs to give it a type, is that it?. That make some sense regarding to the behavior of nodes such as Get. It could have been a bit smarter now according to the fact that we, as users, manually defined a type.
The way you use it is nice and easy, thank you very much for the screenshot. It potentially introduce a variable that may not be very usefull is some simple cases though, but avoid a complicated filling of the array.

Best regards,

Werwack