This commit is contained in:
2025-11-25 02:11:21 +08:00
parent 900de70539
commit abef69c80a
4 changed files with 141 additions and 10 deletions

View File

@@ -813,7 +813,7 @@ class AnimationCrashRecovery(object):
self.clearOldFiles()
OpenMaya.MScriptUtil.setBool(retCode, True)
print "beforeSaveCheck", args, self.mayaFileName
# print("beforeSaveCheck", args, self.mayaFileName)
"""
@@ -941,7 +941,7 @@ import maya.OpenMaya as om
import maya.OpenMayaAnim as oma
def undoTest(*args):
print 'Checking Undo callback'
print('Checking Undo callback')
def undoRedoCallback(arg):
@@ -966,7 +966,7 @@ def undoRedoCallback(arg):
for i in callbackIDs:
oma.MAnimMessage.removeCallback(i)
except:
print 'There is no ID to delete'
print('There is no ID to delete')
undoRedoCallback("add")