turanszkij / WickedEngine

3D engine with modern graphics
https://wickedengine.net
MIT License
5.45k stars 568 forks source link

Backward compatibility fixes #818

Closed Wc4ever closed 2 months ago

Wc4ever commented 2 months ago

Just tested how terrain works when it deserialized form old format. Whats fixed: 1) Entites that should contain materials looks messy in entites inspector. For some reason they do not contain material component but contain object component. Also terrain materials links to wrong or not presented in inspector entities. 2) Terrain pointer in PropsWindow could stale if where alredy was terrain on scene. 3) Converted terrain don't have chunkGroupEntity which lead to wrong reattachments in Terrain::Generation_Update