mirror of
https://github.com/3b1b/manim.git
synced 2025-08-21 05:44:04 +00:00
fix the bug of outdated relative_point after command Z
This commit is contained in:
parent
92adcd75d4
commit
ff86b0e378
1 changed files with 1 additions and 0 deletions
|
@ -472,6 +472,7 @@ class VMobjectFromSVGPathstring(VMobject):
|
||||||
upper_command = command.upper()
|
upper_command = command.upper()
|
||||||
if upper_command == "Z":
|
if upper_command == "Z":
|
||||||
func() # `close_path` takes no arguments
|
func() # `close_path` takes no arguments
|
||||||
|
relative_point = self.get_last_point()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
number_types = np.array(list(number_types_str))
|
number_types = np.array(list(number_types_str))
|
||||||
|
|
Loading…
Add table
Reference in a new issue