appleseedhq / appleseed-max

appleseed plugin for Autodesk® 3ds Max®
https://appleseedhq.net/
MIT License
33 stars 16 forks source link

Allow adding and removal of OSL shaders parameters without breaking Max scenes #275

Closed usakhelo closed 4 years ago

usakhelo commented 5 years ago

Currently no parameter can be added or removed from OSL shader. It will cause changing of the ID's of existing parameters and will break old scenes made with previous version of OSL shaders. Can be fixed by adding parameter ID for each OSL parameter and re-using the ID in max plugin.

usakhelo commented 4 years ago

We are not closing this until it's proved to work, right?

dictoon commented 4 years ago

I think we can actually close this ticket. We've found a reasonable solution that's supposed to be robust, and implemented it. If for some reason it doesn't work then we should find out why and open a more focused ticket.