Cleanup: rename bpy_util -> bpy_capi_utils
This is for internal CAPI use only, avoid confusion w/ bpy.utils module.
This commit is contained in:
parent
ad7fb1c028
commit
e32cfb0743
Notes:
blender-bot
2023-02-14 07:40:56 +01:00
Referenced by issue #53420, Vertex Groups: The "-" button gets a hidden function
|
@ -52,7 +52,7 @@ extern "C" {
|
|||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
}
|
||||
|
||||
namespace Freestyle {
|
||||
|
|
|
@ -45,8 +45,6 @@ set(INC_SYS
|
|||
)
|
||||
|
||||
set(SRC
|
||||
gpu.c
|
||||
gpu_offscreen.c
|
||||
bpy.c
|
||||
bpy_app.c
|
||||
bpy_app_alembic.c
|
||||
|
@ -59,6 +57,7 @@ set(SRC
|
|||
bpy_app_openvdb.c
|
||||
bpy_app_sdl.c
|
||||
bpy_app_translations.c
|
||||
bpy_capi_utils.c
|
||||
bpy_driver.c
|
||||
bpy_interface.c
|
||||
bpy_interface_atexit.c
|
||||
|
@ -76,12 +75,12 @@ set(SRC
|
|||
bpy_rna_driver.c
|
||||
bpy_rna_id_collection.c
|
||||
bpy_traceback.c
|
||||
bpy_util.c
|
||||
bpy_utils_previews.c
|
||||
bpy_utils_units.c
|
||||
gpu.c
|
||||
gpu_offscreen.c
|
||||
stubs.c
|
||||
|
||||
gpu.h
|
||||
bpy.h
|
||||
bpy_app.h
|
||||
bpy_app_alembic.h
|
||||
|
@ -94,6 +93,7 @@ set(SRC
|
|||
bpy_app_openvdb.h
|
||||
bpy_app_sdl.h
|
||||
bpy_app_translations.h
|
||||
bpy_capi_utils.h
|
||||
bpy_driver.h
|
||||
bpy_intern_string.h
|
||||
bpy_library.h
|
||||
|
@ -107,9 +107,9 @@ set(SRC
|
|||
bpy_rna_driver.h
|
||||
bpy_rna_id_collection.h
|
||||
bpy_traceback.h
|
||||
bpy_util.h
|
||||
bpy_utils_previews.h
|
||||
bpy_utils_units.h
|
||||
gpu.h
|
||||
../BPY_extern.h
|
||||
)
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include "RNA_access.h"
|
||||
|
||||
#include "bpy.h"
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy_rna.h"
|
||||
#include "bpy_app.h"
|
||||
#include "bpy_rna_id_collection.h"
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
/** \file blender/python/intern/bpy_util.c
|
||||
/** \file blender/python/intern/bpy_capi_utils.c
|
||||
* \ingroup pythonintern
|
||||
*
|
||||
* This file contains blender/python utility functions for the api's internal
|
||||
* use (unrelated to 'bpy.utils')
|
||||
* This file contains Blender/Python utility functions to help implementing API's.
|
||||
* This is not related to a particular module.
|
||||
*/
|
||||
|
||||
#include <Python.h>
|
||||
|
@ -32,7 +32,7 @@
|
|||
#include "BLI_utildefines.h"
|
||||
#include "BLI_dynstr.h"
|
||||
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
/** \file blender/python/intern/bpy_util.h
|
||||
/** \file blender/python/intern/bpy_capi_utils.h
|
||||
* \ingroup pythonintern
|
||||
*/
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
#include "gpu.h"
|
||||
#include "bpy_rna.h"
|
||||
#include "bpy_path.h"
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy_traceback.h"
|
||||
#include "bpy_intern_string.h"
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy.h" /* own include */
|
||||
|
||||
#include "WM_api.h"
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include "DNA_space_types.h" /* FILE_LINK, FILE_RELPATH */
|
||||
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy_library.h"
|
||||
|
||||
#include "../generic/py_capi_utils.h"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "RNA_types.h"
|
||||
|
||||
#include "bpy_rna.h"
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy_library.h"
|
||||
|
||||
#include "../generic/py_capi_utils.h"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "bpy_operator.h"
|
||||
#include "bpy_operator_wrap.h"
|
||||
#include "bpy_rna.h" /* for setting arg props only - pyrna_py_to_prop() */
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "../generic/bpy_internal_import.h"
|
||||
#include "../generic/py_capi_utils.h"
|
||||
#include "../generic/python_utildefines.h"
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "bpy_props.h"
|
||||
#include "bpy_rna.h"
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
|
||||
#include "BKE_idprop.h"
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#include "bpy_rna.h"
|
||||
#include "bpy_rna_anim.h"
|
||||
#include "bpy_props.h"
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy_rna_callback.h"
|
||||
#include "bpy_intern_string.h"
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#include "WM_types.h"
|
||||
|
||||
#include "bpy_rna.h"
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy_rna_anim.h"
|
||||
|
||||
#include "../generic/python_utildefines.h"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include "bpy_rna.h"
|
||||
#include "bpy_rna_callback.h"
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
|
||||
#include "DNA_space_types.h"
|
||||
#include "DNA_screen_types.h"
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "DNA_object_types.h"
|
||||
#include "DNA_key_types.h"
|
||||
|
||||
#include "bpy_util.h"
|
||||
#include "bpy_capi_utils.h"
|
||||
#include "bpy_rna_id_collection.h"
|
||||
|
||||
#include "../generic/py_capi_utils.h"
|
||||
|
|
Loading…
Reference in New Issue