mgear-dev / mgear4

mGear v.4.x.x (python 3 ready) https://mgear4.readthedocs.io
MIT License
259 stars 91 forks source link

#289 WeightDriver Plugin detection #293

Closed SimonBenAnderson closed 9 months ago

SimonBenAnderson commented 9 months ago

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.