Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin has partially stopped loading in Maya 2023 #40

Open
mostlyhuman opened this issue Sep 29, 2022 · 1 comment
Open

Plugin has partially stopped loading in Maya 2023 #40

mostlyhuman opened this issue Sep 29, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mostlyhuman
Copy link

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.

@danielbui78 danielbui78 self-assigned this Dec 5, 2022
@danielbui78
Copy link
Contributor

danielbui78 commented Dec 14, 2022

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()

@danielbui78 danielbui78 added the bug Something isn't working label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants