diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.py index 2e174a84..3caeda69 100644 --- a/manimlib/mobject/mobject.py +++ b/manimlib/mobject/mobject.py @@ -470,6 +470,10 @@ class Mobject(object): self.parents = pre return result + def deserialize(self, data: bytes): + self.become(pickle.loads(data)) + return self + def copy(self): try: serial = self.serialize()