Skip to content

Commit

Permalink
cast frame ranges to int before passing them to the constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Muream committed Apr 15, 2022
1 parent 8a7a19c commit 114c68a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operators/apply_action_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def set_constraint_settings(self, constraint, action):

constraint.action = action

constraint.frame_start = self.action.frame_range[0]
constraint.frame_end = self.action.frame_range[1]
constraint.frame_start = int(self.action.frame_range[0])
constraint.frame_end = int(self.action.frame_range[1])

transform = self.action.actionman.transform_channel.split("_")[0]

Expand Down

0 comments on commit 114c68a

Please sign in to comment.