Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blenderproc/python/loader/BlendLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def load_blend(path: str, obj_types: Optional[Union[List[str], str]] = None, nam
max_keyframe = max(max_keyframe, keyframe.co[0])

# Set frame_end to the next free keyframe
bpy.context.scene.frame_end = max_keyframe + 1
bpy.context.scene.frame_end = int(max_keyframe + 1)
else:
# Remove object again if its type is not desired
bpy.data.objects.remove(obj, do_unlink=True)
Expand Down
Loading