Nme missing *.animationType* in generated code

Screenshot_2019-11-15%20Babylon%20js%20Node%20Material%20Editor

generated code

...
var Time = new BABYLON.InputBlock("Time");
Time.animationType = BABYLON.AnimatedInputBlockTypes.Time; // <-- missing 
...

:astonished:

@ycw - This an awesome catch!!!

Pinging @Deltakosh

Fixed!

lets elaborate the problem:

reproduce:

  1. visit this graph: Babylon.js Node Material Editor
  2. click ā€œgenerate codeā€
  3. open code.txt

Expected: InputBlock, ā€œTimeā€, should be assigned .animationType like below
Time.animationType = BABYLON.AnimatedInputBlockTypes.Time;

Actual: missing :astonished:

Refresh your cache:) it should work now

Should L577 stuff also be added to L556 :astonished:?

L577:

L556:

Iā€™m freaking stupid!! Sorry for the burden

Iā€™ll fix that right now

1 Like

It works now.

Thanks :beers: