mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
Changed the defaults for where animations are written, and where images for ImageMobject and SVGMobject are sought after
This commit is contained in:
@ -49,7 +49,7 @@ class Camera(object):
|
||||
|
||||
def init_background(self):
|
||||
if self.background_image is not None:
|
||||
path = get_full_image_path(self.background_image)
|
||||
path = get_full_raster_image_path(self.background_image)
|
||||
image = Image.open(path).convert(self.image_mode)
|
||||
height, width = self.pixel_shape
|
||||
#TODO, how to gracefully handle backgrounds
|
||||
|
Reference in New Issue
Block a user