mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
In append_vectorized_mobject, append data as well as points
This commit is contained in:
parent
79039bde61
commit
b21e470e69
1 changed files with 2 additions and 0 deletions
|
@ -669,6 +669,8 @@ class VMobject(Mobject):
|
|||
|
||||
def append_vectorized_mobject(self, vmobject: VMobject):
|
||||
self.add_subpath(vmobject.get_points())
|
||||
n = vmobject.get_num_points()
|
||||
self.data[-n:] = vmobject.data
|
||||
return self
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue