Fix image_utils.py's load_image() helper.
This commit is contained in:
parent
c0b61cf64b
commit
fc95efec06
|
@ -103,7 +103,7 @@ def load_image(imagepath,
|
|||
path = os.path.abspath(path)
|
||||
|
||||
try:
|
||||
image = bpy.data.images.load(path, check_existing)
|
||||
image = bpy.data.images.load(path, check_existing=check_existing)
|
||||
except RuntimeError:
|
||||
image = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue