Description
The material editor currently generate widgets for shader uniforms and features when a material is selected, or its associated shader updated. Compiling a shader doesn't trigger the material editor to update its widgets.
To Reproduce
Steps to reproduce the behavior:
- Open a material in the material editor
- Add a feature to the shader used by this material (example: add
#feature FOO somewhere in the shader code)
- Compile the shader from its contextual menu in the asset browser
- Notice that the material editor isn't updated to show this new feature
Expected behavior
The material editor should always be updated after a shader has been compiled.
Screenshots
N/A