Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-30 16:15:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-30 16:15:39 +0300
commitec48cbd267818f444e942aebd876897314165762 (patch)
treec2548c58f90ade1ce0be637cd9bb828f2107bbc9 /source/blender/python/intern/bpy_rna.c
parent7a76bc9a361e6cb45e4292c0ac5c7bb08936b829 (diff)
utility functions is_negative_m3 & is_negative_m4, added python Mathutils access Matrix.is_negative
renamed Mathutils attribute wrapped -> is_wrapped
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r--source/blender/python/intern/bpy_rna.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 49dfa95109c..4cda17902cb 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -3575,11 +3575,12 @@ PyObject *BPY_rna_types(void)
}
self= (BPy_BaseTypeRNA *)PyObject_NEW( BPy_BaseTypeRNA, &pyrna_basetype_Type );
-
+ self->arraydim = self->arrayoffset = 0; /* unused but better set */
+
/* avoid doing this lookup for every getattr */
RNA_blender_rna_pointer_create(&self->ptr);
self->prop = RNA_struct_find_property(&self->ptr, "structs");
-
+
return (PyObject *)self;
}