Open mostlyhuman opened 1 year ago
Sorry for the late reply. Sometimes, Maya does not allow scripts to update the Shelf. Try creating a custom shelf bar and custom button and using the following Python script as the command for the button:
import sys
sys.dont_write_bytecode = True # don't write PYCs
import maya.cmds as cmds
import DazToMaya
if int(cmds.about(v=True)) > 2020:
import importlib
importlib.reload(DazToMaya)
else:
reload(DazToMaya)
DazToMaya.run()
The plugin has been working fine then today after some unknown reason the 1st button that launches the importer no longer launches the GUI window. The 2nd button for rigging still works and launches it's window. I have completely removed the files from the modules folder and reinstalled them (using the latest release on the github page), I also completely reinstalled Maya (and reinstalled Pymel). I also moved it from the main documents/maya/modules folder to documents/maya/2023/modules but got the same result. I am completely out of ideas. The Daz Studio side of things is working fine it just wont launch in Maya.