I've encountered what seems to be a bug, where when I have a plugin modify the size of a HomePieceOfFurniture, it correctly updates everywhere except in the home plan view.
For example, if my plugin says:
Code: Select all
HomePieceOfFurniture projector = // ...
projector.setDepth(1000);
home.addPieceOfFurniture(projector);
The projector seems very stretched in the home 3D view, but appears as its default dimensions in the home plan view.
If I then double-click it and go to the "Modify furniture" window, the correct (large) depth is visible. If I make some other change to the dimensions (for example changing the height), when I click "OK" the depth is now correct in the home plan view.
---
If this is a bug, I assume you'll fix it in a later version. I'm using a version provided by Debian, so it'll probably be a long time for a fix. Is there some workaround I can use in the meantime to force the home plan view to recalculate the dimensions?
Thanks!