Blender Git Loki

Git Commits -> Revision 5749954

Revision 5749954 by Yann Lanthony (master)
July 22, 2021, 10:52 (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: 574995478aca96d524fe2f34d555d3de64c0697e
Parent Commit: 57668d8
Committed By: Bastien Montagne
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