Skip to content

Commit

Permalink
Backported bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Ekoutsidis committed Oct 11, 2023
1 parent ffc8830 commit 2399e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymel/core/uitypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3406,7 +3406,7 @@ def makeAEProc(modname, classname, procname):

@staticmethod
def load(modname, classname, nodename):
mod = __import__(modname, globals(), locals(), [classname], -1)
mod = __import__(modname, globals(), locals(), [classname])
try:
cls = getattr(mod, classname)
cls(nodename)
Expand Down Expand Up @@ -3524,7 +3524,7 @@ def callCustom(self, newFunc, replaceFunc, *attrs):
replaceFunc = pymel.tools.py2mel.py2melProc(
replaceFunc, procName=name, argTypes=['string'] * len(attrs))
args = (newFunc, replaceFunc) + attrs
cmds.editorTemplate(callCustom=1, *args)
cmds.editorTemplate(*args, callCustom=1)

def suppress(self, control):
cmds.editorTemplate(suppress=control)
Expand Down

0 comments on commit 2399e14

Please sign in to comment.