diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-10 18:34:48 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-10 18:35:50 +0300 |
commit | fc95efec06640e7662e5a13e50a056b789e90d7c (patch) | |
tree | 703d4a8646ac42b765c0281c24e70feb196c2975 /release/scripts/modules | |
parent | c0b61cf64bf068fc5ddde307cacf1e3c8639654c (diff) |
Fix image_utils.py's load_image() helper.
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bpy_extras/image_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_extras/image_utils.py b/release/scripts/modules/bpy_extras/image_utils.py index 49fce7d27c7..63850b63b57 100644 --- a/release/scripts/modules/bpy_extras/image_utils.py +++ b/release/scripts/modules/bpy_extras/image_utils.py @@ -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 |