Skip to content

crash when switching to Furniture mode #218

@gianpaj

Description

@gianpaj

What happened?

https://editor.pascal.app/editor/project_lfU5xMB1OljQSMCy

Image

Steps to reproduce

I added 3 walls, pressed the Furniture button and it crashed

Uncaught TypeError: Cannot read properties of null (reading 'dimensions')

after recovering by switching to Structure mode I got this:

Uncaught TypeError: Cannot read properties of null (reading 'name')
    at Object.create (0v_k92zlg7a72.js?dpl…2B3CPiMHP6:2:213352)
    at Object.initDraft (0v_k92zlg7a72.js?dpl…2B3CPiMHP6:2:235677)

Expected behavior

.

Browser & OS

Chrome macOS

Screenshots or screen recordings

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions