mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
fix: fix an incorrect typing
This commit is contained in:
parent
4dfe8aff86
commit
eadf611f1e
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ class SVGMobject(VMobject):
|
|||
def path_to_mobject(self, path: se.Path) -> VMobjectFromSVGPath:
|
||||
return VMobjectFromSVGPath(path, **self.path_string_config)
|
||||
|
||||
def line_to_mobject(self, line: se.Line) -> Line:
|
||||
def line_to_mobject(self, line: se.SimpleLine) -> Line:
|
||||
return Line(
|
||||
start=_convert_point_to_3d(line.x1, line.y1),
|
||||
end=_convert_point_to_3d(line.x2, line.y2)
|
||||
|
|
Loading…
Add table
Reference in a new issue