This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/python/intern
Sybren A. Stüvel 2601501fce RNA: make bpy.data.orphans_purge() return number of deleted datablocks
Sometimes multiple calls to `bpy.data.orphans_purge()` are needed to
delete all orphans, because a call can turn previously-used datablocks
into orphans. Returning the number of deleted datablocks makes it
possible to keep looping until nothing can be deleted any more.

This patch keeps track of deletions in `id_delete()` so that it can be
returned up the call stack.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D9918
2020-12-22 14:05:49 +01:00
..
2020-11-11 09:11:43 +11:00
2020-11-06 12:32:54 +11:00
2020-10-19 08:12:33 -07:00
2020-10-19 08:12:33 -07:00
2020-09-02 15:58:44 +10:00
2020-07-19 17:37:02 +10:00
2020-11-06 12:32:54 +11:00