mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Note that restoring state affects the mobject list
This commit is contained in:
parent
a54d1eddfc
commit
b8fe7b0172
1 changed files with 1 additions and 0 deletions
|
@ -726,6 +726,7 @@ class Scene(object):
|
||||||
def get_state(self) -> SceneState:
|
def get_state(self) -> SceneState:
|
||||||
return SceneState(self)
|
return SceneState(self)
|
||||||
|
|
||||||
|
@affects_mobject_list
|
||||||
def restore_state(self, scene_state: SceneState):
|
def restore_state(self, scene_state: SceneState):
|
||||||
scene_state.restore_scene(self)
|
scene_state.restore_scene(self)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue