fix: bl_image test, disabling texture unload from ram.

This commit is contained in:
Swann
2020-09-18 16:02:50 +02:00
parent d8a94e3f5e
commit 470df50dc2

View File

@ -98,8 +98,6 @@ class BlImage(BlDatablock):
image.source = 'FILE' image.source = 'FILE'
image.filepath = img_path image.filepath = img_path
image.colorspace_settings.name = data["colorspace_settings"]["name"] image.colorspace_settings.name = data["colorspace_settings"]["name"]
# Unload image from memory
del data['pixels']
loader = Loader() loader = Loader()
loader.load(data, target) loader.load(data, target)