Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix for issue 4255 - Arrow3D: get_start() and get_end() methods both return np.array([0,0,0]). (#4320)

Henrik Skov Midtiby3d029c1280fc
diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.py
index f5c97e448..9cd38e5a0 100644
--- a/manim/mobject/types/vectorized_mobject.py
+++ b/manim/mobject/types/vectorized_mobject.py
@@ -11,7 +11,6 @@ __all__ = [
"DashedVMobject",
]
-
import itertools as it
import sys
from collections.abc import Hashable, Iterable, Mapping, Sequence
@@ -1916,7 +1915,6 @@ class VMobject(Mobject):
return self
num_curves = vmobject.get_num_curves()
if num_curves == 0:
- self.clear_points()
return self
# The following two lines will compute which Bézier curves of the given Mobject must be processed.