RNA: move remaining rna files to C++

Also see #103343.

Pull Request: https://projects.blender.org/blender/blender/pulls/110354
This commit is contained in:
Jacques Lucke
2023-07-21 21:08:05 +02:00
parent 5b2accd26f
commit febe38743c
20 changed files with 1374 additions and 3653 deletions

View File

@@ -39,7 +39,7 @@
static bool bpy_gizmotype_target_property_def(wmGizmoType *gzt, PyObject *item)
{
/* NOTE: names based on `rna_rna.c`. */
/* NOTE: names based on `rna_rna.cc`. */
PyObject *empty_tuple = PyTuple_New(0);
struct {

View File

@@ -3326,7 +3326,7 @@ static PyObject *BPy_IntVectorProperty(PyObject *self, PyObject *args, PyObject
const char *translation_context = nullptr;
int min = INT_MIN, max = INT_MAX, soft_min = INT_MIN, soft_max = INT_MAX;
int step = 1;
int default_value[RNA_MAX_ARRAY_DIMENSION][PYRNA_STACK_ARRAY] = {0};
int default_value[RNA_MAX_ARRAY_DIMENSION][PYRNA_STACK_ARRAY] = {};
BPyPropArrayLength array_len_info{};
array_len_info.len_total = 3;
PropertyRNA *prop;