Python Qt Window class for compatibility between VFX programs
The way Nuke deals with dockable windows is not pythonic at all. It requires the window to exist in globals()
, and only accepts a string input, so I originally required a namespace
argument to be passed to NukeWindow.show
.
There's now a function that will recursively search through all the modules to find where the window was imported. If it can't be found, then it'll not dock the window, as it'll only cause errors.
All the callbacks can be added and removed in the same way the other windows allow.
In some cases (depending on the program), the show method was incorrectly swallowing up keyword arguments. This is now fixed, with the addition of also passing in unnamed arguments.
Added support for launching a GUI in Unreal Engine.
Changing the Maya palette in batch mode doesn't cause any issues, and the inbuilt dark palette is not applied by default. A check has been added to detect if Maya is running in batch mode, so the window can act more like a standalone one.
Added support for launching a GUI in Blender.
First release with support for Maya, Nuke and Houdini.