mockingbirdnest / Principia

𝑛-Body and Extended Body Gravitation for Kerbal Space Program
MIT License
773 stars 70 forks source link

Don't leak materials in markers #4076

Closed al2me6 closed 3 months ago

al2me6 commented 3 months ago

The previous implementation leaked four materials per marker, since access to the material field actually copies the material.

Also updates the C# language version to latest. There are certain runtime-dependent features (range indexing ^1, static-method-in-interface, &c.) that don't work, but the vast majority of syntax sugar is fine.