diff options
Diffstat (limited to 'source/blender/python/intern/bpy_array.c')
-rw-r--r-- | source/blender/python/intern/bpy_array.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/source/blender/python/intern/bpy_array.c b/source/blender/python/intern/bpy_array.c index bb1826d231d..9ceba4ae004 100644 --- a/source/blender/python/intern/bpy_array.c +++ b/source/blender/python/intern/bpy_array.c @@ -22,14 +22,7 @@ * ***** END GPL LICENSE BLOCK ***** */ -#include "Python.h" - #include "bpy_rna.h" - -#include "RNA_access.h" - -#include "BLI_string.h" - #include "BKE_global.h" #define MAX_ARRAY_DIMENSION 10 @@ -41,15 +34,15 @@ typedef void (*RNA_SetIndexFunc)(PointerRNA *, PropertyRNA *, int index, void *) /* arr[3][4][5] - 0 1 2 <- dimension index + 0 1 2 <- dimension index */ /* arr[2] = x py_to_array_index(arraydim=0, arrayoffset=0, index=2) - validate_array(lvalue_dim=0) - ... make real index ... + validate_array(lvalue_dim=0) + ... make real index ... */ /* arr[3]=x, self->arraydim is 0, lvalue_dim is 1 */ |