Print at May 28, 2022, 8:04:19 AM

Posted by Puybaret at Jan 6, 2016, 12:18:38 PM
Re: Suddenly, huge file size...
No need to search further. I found how to reproduce this bug and as it's actually easy enough to provoke it, I fear it could happen often enough sad
Here's the simplest way to provoke it:
- In a new file, add a piece that contains at least a texture
- Save the file and quit Sweet Home 3D
- Reopen the file and edit the materials of the piece it contains
- Select the material that references a texture and click on the Texture radio button
- Confirm and save. The sh3d file gets buggy and will contain the file hierarchy a second time.
If you want to fix the error in your sh3d file by yourself, it's quite easy once you found the piece that uses its own texture in one of its materials: edit its materials and select the Unchanged radio button for this material in the Furniture materials dialog box.

Expect soon a beta version that will avoid this bug to happen again (but I don't think it will be able to fix existing files). It shouldn't be too difficult to fix smile
Emmanuel Puybaret, Sweet Home 3D developer