All Rust commits from Facepunch
clear prefab when switching input type, clear material list before switching mesh