decentraland / creator-hub

MIT License
0 stars 4 forks source link

Inspector: layout panel doesn't reflect the correct layout #207

Open EzioDCL opened 6 days ago

EzioDCL commented 6 days ago

Describe the bug When opening a previously created scene that uses a custom layout, the Scene Layout panel information is incorrect. It often ignores deactivated single tiles or shows a different layout size. Some examples:

See attached images for more details.

To Reproduce

  1. Create a new Empty Scene
  2. Change the layout settings to 2x2 and deactivate one parcel so you end up with an "L" shaped layout
  3. Apply changes and go back to the My Scenes screen
  4. Open the previously created scene
  5. Open the Layout Panel
  6. Notice that the current Layout configuration is incorrect
  7. This also applies to bigger and more complex custom layouts

Expected behavior Layout panel preview should always reflect the current applied scene configuration

Screenshots

Decentraland_Creator_Hub_jFUhyPj5SG

Decentraland_Creator_Hub_B5rfxUKPNt

Additional context Version: 0.6.0 Design resources (Figma): https://www.figma.com/design/sXjsoASo7nc24UY6OZnR1d/%F0%9F%A7%B0-Editor-bug-fixes-%7C-Builder-%7C-Cycle-6?node-id=1634-69361&t=rnuD9olO6sO7mIy2-4