pyblish / pyblish-qml

Pyblish QML frontend for Maya 2013+, Houdini 11+, Nuke 8+ and more
GNU Lesser General Public License v3.0
114 stars 44 forks source link

Fix: make `window` a keyword argument for Blender 2.8 compatibility #334

Closed jasperges closed 5 years ago

jasperges commented 5 years ago

So far this is the only thing I encountered that didn't work in Blender 2.80. This simple fix should make it work in both Blender 2.79 and Blender 2.80.

mottosso commented 5 years ago

Woot! That's great news. :) When you say "should", does that mean you have yet to test it?

jasperges commented 5 years ago

No, I actually did test it. :) In Blender 2.80 all optional arguments must be given as keywords and cannot be passed by position.

https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API#Keyword_Only_Arguments

mottosso commented 5 years ago

Sweet, thanks! Merging this. Released as 1.10.0 and available on PyPI.