mirror of
https://github.com/3b1b/manim.git
synced 2025-08-21 05:44:04 +00:00
Update mobject.py
This commit is contained in:
parent
f9a6fa7036
commit
82540edae9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Mobject(object):
|
||||||
return self.__class__.__name__
|
return self.__class__.__name__
|
||||||
|
|
||||||
def __add__(self, other : 'Mobject'):
|
def __add__(self, other : 'Mobject'):
|
||||||
return Group(self, other)
|
return self.get_group_class(self, other)
|
||||||
|
|
||||||
def __mul__(self, other : 'int'):
|
def __mul__(self, other : 'int'):
|
||||||
return self.replicate(other)
|
return self.replicate(other)
|
||||||
|
|
Loading…
Add table
Reference in a new issue