[Bf-blender-cvs] [1a485a3aa61] master: Fix error in 6b76381e0a52cf15513087e470a4a4c07471acc6

Campbell Barton noreply at git.blender.org
Wed Oct 5 07:57:00 CEST 2022


Commit: 1a485a3aa619f3359b869dabeff0132634a22e15
Author: Campbell Barton
Date:   Wed Oct 5 16:56:10 2022 +1100
Branches: master
https://developer.blender.org/rB1a485a3aa619f3359b869dabeff0132634a22e15

Fix error in 6b76381e0a52cf15513087e470a4a4c07471acc6

Missed flipping arguments for caller.

===================================================================

M	source/blender/python/intern/bpy.c

===================================================================

diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c
index 861b4dddff9..77710d6df37 100644
--- a/source/blender/python/intern/bpy.c
+++ b/source/blender/python/intern/bpy.c
@@ -322,7 +322,7 @@ static PyObject *bpy_resource_path(PyObject *UNUSED(self), PyObject *args, PyObj
     return NULL;
   }
 
-  path = BKE_appdir_resource_path_id_with_version(type.value_found, (major * 100) + minor, false);
+  path = BKE_appdir_resource_path_id_with_version(type.value_found, false, (major * 100) + minor);
 
   return PyC_UnicodeFromByte(path ? path : "");
 }



More information about the Bf-blender-cvs mailing list