Fix image_utils.py's load_image() helper.
[blender.git] / release / scripts / modules / bpy_extras / image_utils.py
index 49fce7d27c7a110fcbd2bb22c15d04e99472b1ef..63850b63b57bec519748fd24b9a56e5cbb286bf7 100644 (file)
@@ -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