mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Note that restoring state affects the mobject list
This commit is contained in:
@ -726,6 +726,7 @@ class Scene(object):
|
||||
def get_state(self) -> SceneState:
|
||||
return SceneState(self)
|
||||
|
||||
@affects_mobject_list
|
||||
def restore_state(self, scene_state: SceneState):
|
||||
scene_state.restore_scene(self)
|
||||
|
||||
|
Reference in New Issue
Block a user