The code is now OS friendly. Should work with all types of plugins [.mll, .bundle, .so]
Added an OS detector, as environment variables use different separators [ : ; ]
To detect if the plugin is the latest greater then the fallback plugin, I perform a loop over the available weightDriver plugins.
enable it, check the version, and if it is larger then break out of the loop.
All testing on my OSX Maya 2024 version worked correctly.
The code is now OS friendly. Should work with all types of plugins [.mll, .bundle, .so] Added an OS detector, as environment variables use different separators [ : ; ]
To detect if the plugin is the latest greater then the fallback plugin, I perform a loop over the available weightDriver plugins. enable it, check the version, and if it is larger then break out of the loop.
All testing on my OSX Maya 2024 version worked correctly.
@miquelcampos please check on a windows machine.