mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Make sure mobject data gets unlocked after animations
This commit is contained in:
parent
f6ff070a8e
commit
288983e7b9
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ class ShowPartial(Animation):
|
|||
if not self.should_match_start:
|
||||
self.mobject.lock_matching_data(self.mobject, self.starting_mobject)
|
||||
|
||||
def finish(self):
|
||||
super().finish()
|
||||
self.mobject.unlock_data()
|
||||
|
||||
def interpolate_submobject(self, submob, start_submob, alpha):
|
||||
submob.pointwise_become_partial(
|
||||
start_submob, *self.get_bounds(alpha)
|
||||
|
|
Loading…
Add table
Reference in a new issue