mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
Deleted the cast error in class TOP
This commit is contained in:
@ -121,6 +121,7 @@ class Mobject(object):
|
||||
def shift(self, *vectors):
|
||||
total_vector = reduce(op.add, vectors)
|
||||
for mob in self.family_members_with_points():
|
||||
mob.points = mob.points.astype('float')
|
||||
mob.points += total_vector
|
||||
return self
|
||||
|
||||
@ -705,16 +706,3 @@ class Group(Mobject):
|
||||
#the mobject is used primarily for its submobject housing
|
||||
#functionality.
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user