Blender Git Loki

Git Commits -> Revision 59b77cd

July 26, 2021, 06:44 (GMT)
Fix T89733: Py API: bpy.data.orphans_purge argument parsing

On Windows, using `bpy.data.orphans_purge` with some arguments (eg: `do_recursive=True`) does not produce the expected results. This is due to arguments not being parsed correctly on this platform with the current code.

The proposed fix is based on how other functions with boolean attributes are exposed to the Python API.

Reviewed By: #python_api, mont29

Maniphest Tasks: T89733

Differential Revision: https://developer.blender.org/D11963

Commit Details:

Full Hash: 59b77cd68848e56461c36287eba713079135f071
Parent Commit: 05ffe05
Committed By: Jeroen Bakker
Lines Changed: +10, -3

1 Modified Path:

/source/blender/python/intern/bpy_rna_id_collection.c (+10, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021