Fix image_utils.py's load_image() helper.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 10 Sep 2018 15:34:48 +0000 (17:34 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 10 Sep 2018 15:35:50 +0000 (17:35 +0200)
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