Ttanasart-pt / Pixel-Composer

Node base VFX editor for pixel art.
MIT License
739 stars 32 forks source link

[BUG] Array Node Forgets Inputs #9

Closed babyblueboxers closed 1 year ago

babyblueboxers commented 1 year ago

Log message

Not applicable, as no crash occurs.

Describe the bug

When loading a saved project, the Array node will only have a connection to the first input slot. It "forgets" other inputs were attached, and defaults to 4 inputs slots, 3 of which are unconnected.

To Reproduce

Steps to reproduce the behavior:

  1. Create two Number nodes.
  2. Create and Array node.
  3. Connect each Number node to a slot in the Array node.
  4. Save the project.
  5. Reload the project.

Expected behavior

The array node should retain attached values.

System

Additional context

None needed.

Ttanasart-pt commented 1 year ago

Noted, definitely need to look into dynamic node (node with any number of inputs) a bit more.

Ttanasart-pt commented 1 year ago

Fixed in 1.0.2