Skip to content

Commit

Permalink
#63 - fix type conversion from blender 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonless committed Mar 27, 2022
1 parent 52b4e13 commit 8968a80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bake_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def invoke(self, context, event):
context.object.animation_data.action = bpy.data.actions.new("%sAction" % context.object.name)

action = context.object.animation_data.action
self.frame_start, self.frame_end = action.frame_range
self.frame_start = int(action.frame_range[0])
self.frame_end = int(action.frame_range[1])

return context.window_manager.invoke_props_dialog(self)

Expand Down

0 comments on commit 8968a80

Please sign in to comment.