Closed soopercool101 closed 5 years ago
Do you know why that Alt key behavior was added?
I'm guessing whoever put that in, it was before the Alt key was being used for anything else.
I added it so I could recompile the GLSL shader code on-demand for debugging purposes. No need for it anymore
Old behavior caused MDL0 Objects to completely rebuild their materials on every render call if the Alt key (but not shift or control) is pressed. This caused major lag when using shortcuts like new collision creation in the collision editor. The functionality offered by rebuilding materials every frame when alt is pressed is not particularly useful and should just be removed outright.
Here's a comparison of before and after the fix: Before: https://gfycat.com/EmbellishedAnyGalapagosdove After: https://gfycat.com/OnlyOddEastrussiancoursinghounds