Skip to content

Commit

Permalink
maya 2024 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Babin committed Apr 29, 2024
1 parent 9a1a0ed commit 6ee9bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/blurdeform/blurAddPose.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def refreshWindow(self):
YPos = parentWindGeom.y() + 0.5 * (
parentWindGeom.height() - currentGeom.height()
)
self.move(XPos, YPos)
self.move(int(XPos), int(YPos))
self.setEnabled(True)
self.activateWindow()
self.uiPoseNameLE.setFocus()
Expand Down
4 changes: 2 additions & 2 deletions scripts/blurdeform/extraWidgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,11 @@ def updatePosition(self, startPos=None, oneKeySize=None, start=None, end=None):
)

Xpos = (self.theTime - start) * oneKeySize + startPos
self.move(Xpos, 15)
self.move(int(Xpos), 15)
if oneKeySize < 6:
self.resize(6, 40)
else:
self.resize(oneKeySize, 40)
self.resize(int(oneKeySize), 40)

def __init__(self, theTime, theTimeSlider, isEmpty=False):
super(KeyFrameBtn, self).__init__(None)
Expand Down

0 comments on commit 6ee9bca

Please sign in to comment.