mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Also search for images where the extension is passed in
This commit is contained in:
parent
36e8421395
commit
84f032610f
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ def get_full_raster_image_path(image_file_name):
|
|||
return find_file(
|
||||
image_file_name,
|
||||
directories=[get_raster_image_dir()],
|
||||
extensions=[".jpg", ".png", ".gif"]
|
||||
extensions=[".jpg", ".png", ".gif", ""]
|
||||
)
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ def get_full_vector_image_path(image_file_name):
|
|||
return find_file(
|
||||
image_file_name,
|
||||
directories=[get_vector_image_dir()],
|
||||
extensions=[".svg", ".xdv"],
|
||||
extensions=[".svg", ".xdv", ""],
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue