mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Move a line
This commit is contained in:
parent
494e04405c
commit
98e358f87d
1 changed files with 2 additions and 1 deletions
|
@ -1036,6 +1036,8 @@ class VMobject(Mobject):
|
||||||
if not self.needs_new_joint_angles:
|
if not self.needs_new_joint_angles:
|
||||||
return self.data["joint_angle"]
|
return self.data["joint_angle"]
|
||||||
|
|
||||||
|
self.needs_new_joint_angles = False
|
||||||
|
|
||||||
points = self.get_points()
|
points = self.get_points()
|
||||||
self.data["joint_angle"] = resize_array(self.data["joint_angle"], len(points))
|
self.data["joint_angle"] = resize_array(self.data["joint_angle"], len(points))
|
||||||
|
|
||||||
|
@ -1080,7 +1082,6 @@ class VMobject(Mobject):
|
||||||
self.data["joint_angle"][3::3][mis_matches] = DISJOINT_CONST
|
self.data["joint_angle"][3::3][mis_matches] = DISJOINT_CONST
|
||||||
self.data["joint_angle"][2:-1:3][mis_matches] = DISJOINT_CONST
|
self.data["joint_angle"][2:-1:3][mis_matches] = DISJOINT_CONST
|
||||||
|
|
||||||
self.needs_new_joint_angles = False
|
|
||||||
return self.data["joint_angle"]
|
return self.data["joint_angle"]
|
||||||
|
|
||||||
def triggers_refreshed_triangulation(func: Callable):
|
def triggers_refreshed_triangulation(func: Callable):
|
||||||
|
|
Loading…
Add table
Reference in a new issue