Skip to content

Commit

Permalink
Note that restoring state affects the mobject list
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Feb 4, 2023
1 parent a54d1ed commit b8fe7b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manimlib/scene/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ def add_sound(
def get_state(self) -> SceneState:
return SceneState(self)

@affects_mobject_list
def restore_state(self, scene_state: SceneState):
scene_state.restore_scene(self)

Expand Down

0 comments on commit b8fe7b0

Please sign in to comment.