Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to how you add shaders in the UI (#182)
* fix(shader): Prevent resetting parameters in shader settings Introduce an early return check for the shader's variation. If the selected variation is the same as the previously active one, the function exits early, preventing any unnecessary resetting of shader parameters. Fix #180 * feat(material): New way of adding shaders - The shaders will now be automatically loaded in a EnumProperty through the data path set in addon preferences - This includes a operator that will migrate the old "source" property over to the new "shader" enum property (and preserve all the other shader related data) - Made it possible to add "material_name" to the load_shader and load_shader_variation operators so it can be called through API without needing to have a active object with a active material to run the operators * Added support to export new shader setup
- Loading branch information