diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.py index 3f53f5f4..368a3d11 100644 --- a/manimlib/mobject/mobject.py +++ b/manimlib/mobject/mobject.py @@ -528,7 +528,6 @@ class Mobject(object): # Copying and serialization - @staticmethod def stash_mobject_pointers(func: Callable): @wraps(func) def wrapper(self, *args, **kwargs): @@ -1735,7 +1734,6 @@ class Mobject(object): # Operations touching shader uniforms - @staticmethod def affects_shader_info_id(func: Callable): @wraps(func) def wrapper(self): diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.py index 0a65aacd..f7c703b6 100644 --- a/manimlib/mobject/types/vectorized_mobject.py +++ b/manimlib/mobject/types/vectorized_mobject.py @@ -904,7 +904,7 @@ class VMobject(Mobject): if self.has_fill(): tri1 = mobject1.get_triangulation() tri2 = mobject2.get_triangulation() - if len(tri1) != len(tri1) or not (tri1 == tri2).all(): + if len(tri1) != len(tri2) or not (tri1 == tri2).all(): self.refresh_triangulation() return self @@ -1019,7 +1019,6 @@ class VMobject(Mobject): self.needs_new_triangulation = False return tri_indices - @staticmethod def triggers_refreshed_triangulation(func: Callable): @wraps(func) def wrapper(self, *args, **kwargs):