Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

self.keyframes #22

Open
BlankHrt opened this issue May 25, 2021 · 0 comments
Open

self.keyframes #22

BlankHrt opened this issue May 25, 2021 · 0 comments

Comments

@BlankHrt
Copy link

File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\manim\grpc\impl\frame_server_impl.py", line 53, in GetFrameAtTime
<= self.keyframes[requested_scene_index].duration
IndexError: list index out of range

scene_finished = False
            if requested_scene_index == request.end_index:
                scene_finished = True
            if (
                request.animation_offset
                <= self.keyframes[requested_scene_index].duration //line 53
            ):
                animation_offset = request.animation_offset
            else:
                if requested_scene_index + 1 < request.end_index:
                    requested_scene_index += 1
                    animation_offset = 0
                else:
                    scene_finished = True
                    animation_offset = self.keyframes[requested_scene_index].duration

i print self.keyframes the value is []

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant