mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 14:47:44 +00:00
Small cleanup
This commit is contained in:
parent
c726eb7a18
commit
2d115a2c90
1 changed files with 1 additions and 4 deletions
|
|
@ -96,10 +96,7 @@ class PMobject(Mobject):
|
|||
for key in self.data:
|
||||
if key == "bounding_box":
|
||||
continue
|
||||
# data_len = len(self.data[key])
|
||||
# lower_index = int(a * data_len)
|
||||
# upper_index = int(np.ceil(b * data_len))
|
||||
self.data[key] = pmobject.data[key][lower_index:upper_index]
|
||||
self.data[key] = pmobject.data[key][lower_index:upper_index].copy()
|
||||
return self
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue