mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Update mobject.py
This commit is contained in:
@ -83,7 +83,7 @@ class Mobject(object):
|
||||
return self.__class__.__name__
|
||||
|
||||
def __add__(self, other : 'Mobject'):
|
||||
return Group(self, other)
|
||||
return self.get_group_class(self, other)
|
||||
|
||||
def __mul__(self, other : 'int'):
|
||||
return self.replicate(other)
|
||||
|
Reference in New Issue
Block a user