Alpha 5 bug: Component error during building process

Title: Component error during building process

Summary:
Error when placing a roof, undoing it and then using the direction arrows to re-orient the roof.

Steps to reproduce:

  1. Plan to build house
  2. lay down floor plan and walls
  3. place roof
  4. Realize it is on the wrong direction
  5. use undo button to remove roof
  6. use directional buttons to modify roof direction

Attachments:

Versions and Mods: Alpha 5, no mods

System Information: Windows 7 Professional, Intel Core i7-2600k @3.4 GHz, 16 GB Ram, Nvidia GeForce GTX 560 Ti

Just a small tip: You don’t have to undo or remove the roof…just change your directional arrows and it will rotate for you. :smile:

Yup, I discovered that after the fact. I think at some point I tried & it didn’t work so I put myself in the habit above.

I don’t know, I do weird stuff. :stuck_out_tongue:

However, trying to undo a roof after you’ve changed it’s direction causes some errors, and sometimes undoing a roof can cause invisible blocks to be left over too (unless they fixed the invisible blocks?)

That would make sense. If the tool still believes the roof is still there and is turning a null array of roof block objects.

Wouldn’t be hard to fix, it would just have to do a check for each roof style. After all, there are only a certain amount of possibilities that the roof can become.