Similar to `bpy.data.user_map`, it returns a mapping of IDs to all the filepaths they use. Fairly basic still, may need to be refined with more options to control which filepaths are included etc. Mainly intended to make handling of a production blendfile dependencies more easy. Also adds some basic testing of the new feature. Pull Request: https://projects.blender.org/blender/blender/pulls/127252
17 lines
437 B
C++
17 lines
437 B
C++
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup pythonintern
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <Python.h>
|
|
|
|
extern PyMethodDef BPY_rna_id_collection_user_map_method_def;
|
|
extern PyMethodDef BPY_rna_id_collection_file_path_map_method_def;
|
|
extern PyMethodDef BPY_rna_id_collection_batch_remove_method_def;
|
|
extern PyMethodDef BPY_rna_id_collection_orphans_purge_method_def;
|