overload-development-community / OverloadLevelEditor

Overload Level Editor
MIT License
8 stars 6 forks source link

Fix export with portal with lava slave side #34

Closed arbruijn closed 3 years ago

arbruijn commented 3 years ago

When a portal has a lava texture on the side with the highest segment number (the slave side) and there are no other lava textures, the lava texture is ignored but there is a lava collision mesh created which will be empty. This causes a crash when the empty mesh is added to the EditorPhysics collision engine. This commit makes it ignore the empty mesh.

Resolves: #27