mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 13:03:31 +08:00
Use array copy when checking need for refreshing triangulation
This commit is contained in:
@ -887,7 +887,7 @@ class VMobject(Mobject):
|
||||
def triggers_refreshed_triangulation(func):
|
||||
@wraps(func)
|
||||
def wrapper(self, *args, **kwargs):
|
||||
old_points = self.get_points()
|
||||
old_points = self.get_points().copy()
|
||||
func(self, *args, **kwargs)
|
||||
if not np.all(self.get_points() == old_points):
|
||||
self.refresh_unit_normal()
|
||||
|
Reference in New Issue
Block a user