No longer any need for specialized invisible_copy

This commit is contained in:
Grant Sanderson 2023-01-31 20:16:05 -08:00
parent f858a439dd
commit c8d1ee5c88

View file

@ -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: