Update
This commit is contained in:
@@ -770,7 +770,7 @@ class KeyTransformSlider_Gui(object):
|
||||
fv = G.KT_keyValues[n][fi]
|
||||
lv = G.KT_keyValues[n][li]
|
||||
|
||||
for x in xrange(ti-2, -1, -1):
|
||||
for x in range(ti-2, -1, -1):
|
||||
v = G.KT_keyValues[n][fi+x+1]
|
||||
if v == fv == lv:
|
||||
del G.KT_keysSel[n][x]
|
||||
|
||||
@@ -294,12 +294,12 @@ class Tangents(object):
|
||||
if loopIndex in indexes:
|
||||
newIndexes.append(loopIndex)
|
||||
|
||||
"""
|
||||
print "indexList",indexList
|
||||
print "values",values
|
||||
print "difList",difList
|
||||
print "indexes",indexes
|
||||
print "newIndexes",newIndexes
|
||||
"""
|
||||
print("indexList",indexList)
|
||||
print("values",values)
|
||||
print("difList",difList)
|
||||
print("indexes",indexes)
|
||||
print("newIndexes",newIndexes)
|
||||
"""
|
||||
|
||||
return newIndexes
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user