mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Add refresh_locked_data
This commit is contained in:
parent
a642591585
commit
33d2894c16
1 changed files with 5 additions and 0 deletions
|
@ -432,6 +432,11 @@ class Scene(object):
|
|||
def unlock_mobject_data(self):
|
||||
self.camera.release_static_mobjects()
|
||||
|
||||
def refresh_locked_data(self):
|
||||
self.unlock_mobject_data()
|
||||
self.lock_static_mobject_data()
|
||||
return self
|
||||
|
||||
def begin_animations(self, animations):
|
||||
for animation in animations:
|
||||
animation.begin()
|
||||
|
|
Loading…
Add table
Reference in a new issue