Skip to content

Commit

Permalink
fix drag and drop installer for Maya 2025 #409
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Feb 12, 2025
1 parent c81fff5 commit 4585cc0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions drag_n_drop_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@

try:
from maya.app.startup import basic
from PySide2 import QtWidgets, QtCore, QtGui
from shiboken2 import wrapInstance
try:
from PySide2 import QtWidgets, QtCore, QtGui
from shiboken2 import wrapInstance
except ModuleNotFoundError:
from PySide6 import QtWidgets, QtCore, QtGui
from shiboken6 import wrapInstance
import maya.OpenMayaUI as OpenMayaUI
import maya.cmds as cmds
import maya.api.OpenMaya as om
Expand All @@ -19,7 +23,7 @@

# -- constants
TITLE = "Install mGear"
VERSION = 1.2
VERSION = 1.3
MGEAR_MOD_PATH = "MGEAR_MODULE_PATH"
MAYA_MOD_PATH = "MAYA_MODULE_PATH"
PLUGINS = ["mgear_solvers.mll", "weightDriver.mll"]
Expand Down

0 comments on commit 4585cc0

Please sign in to comment.