mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
No longer any need for specialized invisible_copy
This commit is contained in:
parent
f858a439dd
commit
c8d1ee5c88
1 changed files with 0 additions and 8 deletions
|
@ -927,14 +927,6 @@ class VMobject(Mobject):
|
|||
mob.get_joint_products()
|
||||
return self
|
||||
|
||||
def invisible_copy(self) -> Self:
|
||||
result = self.copy()
|
||||
if not result.has_fill() or result.get_num_points() == 0:
|
||||
return result
|
||||
result.append_vectorized_mobject(self.copy().reverse_points())
|
||||
result.set_opacity(0)
|
||||
return result
|
||||
|
||||
def insert_n_curves(self, n: int, recurse: bool = True) -> Self:
|
||||
for mob in self.get_family(recurse):
|
||||
if mob.get_num_curves() > 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue