[SOLVED] Data Array / Mutable Outputs
-
Hi,
I want to use a data array to recall different x and y positions for a shapes actor. So I place the actor, tell him 2 outputs, type my filename and click 'read'. In this moment the status of the not yet connected outputs change from 'Float' to 'Text'. If I connect them to the x and y inputs of the shapes actor, they correctly mutate to 'Float' again and everything works fine. But if I hit 'read' again they mutate back to 'Text' and nothing works. I have to erase the lines and reconnect to get things back to work.
Is this expected behaviour? Can there be something wrong with my txt-file?
As a bonus a thing I once saw but couldn't replicate until now - inputs (I never touched) and outputs changed there name although their type remained:
It's no big deal, as I don't have to alter my txt-file, therefore no need to 'read' again, but it feels wired.
Reinhard
-
I think it's because you have a text somewhere in the file. Only one letter is enough. With this file, I have the same behaviour that you describe.
1.000000 15.000000 2.000000 20.000000 3.000000 50.000000 4.000000 40.000000 5.000000 70.000000 6.000000 0.000000 7.000000 0.000000 8.000000 0.000000 9.000000 0.000000 10.000000 100.000000 A
Without the letter A, everything works as it should.
Best regards,
Jean-François
-
Thanks for the reply but I can't find anything odd in my txt-file. After checking out various settings I could find for plain text in LibreOffice (nothing helped) and returning to TextEdit and 'convert to plain text', I would like to ask if you would mind to check my file (2 values, 16 rows) on your system.
All my best
Reinhard
-
Damn - just changed all commas to points and it works.
-
@reinhard said:
Damn - just changed all commas to points and it works.
I'll file this as a potential bug.
Glad it's working for you now.