mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Compute triangulation before replicating
This commit is contained in:
parent
795f6e2490
commit
8c44834554
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ class VMobject(Mobject):
|
||||||
return super().family_members_with_points()
|
return super().family_members_with_points()
|
||||||
|
|
||||||
def replicate(self, n: int) -> VGroup:
|
def replicate(self, n: int) -> VGroup:
|
||||||
|
if self.has_fill():
|
||||||
|
self.get_triangulation()
|
||||||
return super().replicate(n)
|
return super().replicate(n)
|
||||||
|
|
||||||
def get_grid(self, *args, **kwargs) -> VGroup:
|
def get_grid(self, *args, **kwargs) -> VGroup:
|
||||||
|
|
Loading…
Add table
Reference in a new issue